Re:A deep dive into Multicore OCaml garbage collector
by nv-vn on Sunday July 16, 2017 @03:23AM
(#14780966)
F#'s features don't feel that useful after working in OCaml though. I've tried it for various projects, but OCaml is honestly just as good in all those situations. I wonder if there's some specific type of project where F#'s features will really shine.
Re:A deep dive into Multicore OCaml garbage collector
by mercurial on Sunday July 16, 2017 @03:39AM
(#14781008)
I can imagine the .NET interop is a big deal, especially if you need to do anything on Windows. Also, parallelism can be occasionally useful.
Re:A deep dive into Multicore OCaml garbage collector
by nv-vn on Sunday July 16, 2017 @03:57AM
(#14781051)
Yeah, I get that those are useful, but things like type providers or units of measure feel pretty useless to me and I'm not really sure if they're supposed to make me want to switch to F# or not. They certainly don't fill the place of OCaml's module system or object system or GADTs, PPXes, polymorphic variants, etc. To me OCaml's abstractions feel much more polished/as if they were all invented to fill some existing hole in the language and work together (rather than some random "cherry on top" feature that doesn't fix anything for me and is rarely useful).
Re:A deep dive into Multicore OCaml garbage collector
by pjmlp on Sunday July 16, 2017 @06:55AM
(#14781475)
Well, a big decision point is what one uses as main development platform.
Sadly OCaml support on Windows is not great, to put it nicely.
Re:A deep dive into Multicore OCaml garbage collector
by mercurial on Sunday July 16, 2017 @10:35AM
(#14782115)
On the other hand, it may be possible to use F# on Linux with .NET Core now.
Re:A deep dive into Multicore OCaml garbage collector
by mixedCase on Sunday July 16, 2017 @03:57PM
(#14783843)
Tooling is definitely far from mature. It's treated as a second class language in .NET, and on top Linux is treated a second class OS.
I just tried to start a project with F# and ended up abandoning, and am looking into Rust right now. I considered OCaml but its lack of multicore support and the ecosystem situation made me drop it.
Re:A deep dive into Multicore OCaml garbage collector
by pjmlp on Sunday July 16, 2017 @06:49PM
(#14784510)
You are kind of right.
My point was that even as second class citizen on .NET, F# has more tooling and available libraries than OCaml ever will on Windows.
For a long time OPAM did not support Windows, and right now cygwin or Linux subsystem still seem to be better ways than straight Win32 application support.
OCaml is quite nice on *NIX systems, on other kind of OSes not so much.
Re:A deep dive into Multicore OCaml garbage collector
by afrisch on Monday July 17, 2017 @10:55AM
(#14789008)
Of course it feels less native than with F#, but we have created and used CSML (https://github.com/LexiFi/csml) specifically to allow our OCaml code base to interact with .NET.
It's a joy to work in
https://stackoverflow.com/questions/179492/f-changes-to-ocam...