Re:OCaml for the Masses (2011)
by raphinou on Monday November 26, 2018 @07:31AM
(#18532837)
As you have experience in both, are there Ocaml things you really miss in F#? How long are you developing in F# (and which type of apps if I may ask)?
[ Parent
| on HN ]
FYI F# started as an OCaml implementation to .NET. It quickly evolved as an independent languages as it was easier to do, but a good part of it is straight up OCaml.
I have been using F# for data science, developing algorithms (where ML truly shines) and most of my scripting needs for 3 years now (it is not my main language as, these days, I need to instrument some C++).
As remify said F# came from Ocaml : it lacks modules, GADT and other thing but you can easily translate most Ocaml to F#. For me the syntax was a net win.
The thing I miss is the Graphics module of Ocaml's std. I used to build quick visualizations with it and I have not found a good F# equivalent that would run flawlessly on Linux (the relevant section of mono's std was very buggy the last time I tried using it).
Re:OCaml for the Masses (2011)
by hardlianotion on Monday November 26, 2018 @03:07PM
(#18536342)
But now there is no need to rely on Mono, right? Now that Microsoft has released dot net for other OS.
When the first version of dotnet core went out, parts of it such as system.drawing were just empty shells. Nowadays dotnet core is all you need (happily F# seems to be developed first and foremost by the community and not by Microsoft).