[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor acceptance emails will be sent out over the coming weeks. Make sure to check your spam folder!


[Advertise on 4chan]


File: 1785260403556.png (24 KB, 738x201)
24 KB PNG
>OCaml cannot be used to compile to web-assembler
>OCaml does not have any libraries for graphical GUI interfaces
>OCaml is too slow for system programming like ffmpeg encoders, drivers, etc.

What do people even use this for? Just mathematical self-mastrubation?
>>
Apart from being impure its a really well designed language. I enjoyed it a lot. Especially the module system.
I used it to write a custom mmorpg client for botting.
I'd say its better than Rust but worse than Haskell
>>
>>109394398
running trading algos on fpga's at quant finance firms like jane street capital
though I don't remember any other firm using ocaml
>>
>>109396255
FPGA uses things like verilog, not OCaml
>>
The library landscape is a bit rough tho. I needed a good way to model async operations. There are currently 3 libraries you can choose from (lwt, async from janestreet and eio) and they are all fundamentally flawed with regards to cancellation. I've used eio for the longest time, but switched to free monads now.

Just be prepared to handroll a lot of the stuff you would normally use a off-the-shelf library for.
>>
>>109394398
mathematicians use python
>>
>>109394398
Yes.
>>
its good for vibe coding. just has poor windows support so I have to use f#
>>
>>109394398
It's pretty good for building language tooling. Many static analyzers (Polyspace, Mopsa, Infer...) are built using Ocaml.
>>
>>109394398
prototyping compilers
>>
legacy probably. I can't think of a single use case where I would pick OCaml over both Haskell and Rust
>>
>>109399577
Performances and strict evaluation?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.