3 ms·
> compiler generates fast [...] reason enough to choose it over Scala or F# Is the edit/compile/run cycle faster than F#? If either OCaml or F# produce a suffi
by karmakaze 6y ago
> compiler generates fast [...] reason enough to choose it over Scala or F#
Is the edit/compile/run cycle faster than F#? If either OCaml or F# produce a sufficiently fast program which compiles faster?
Also how seamless is multithreaded operations compared to F#? I have some limited experience with F# (on Mac) and the biggest drawback was getting the environment correctly set up after which most everything seemed very natural.
- smabie 6y agoI've never used F# in any serious capacity, but OCaml compilation time is really fast. Ocaml multicore is going to drop soon, so mainline OCaml should finally have a real concurrency story soon. The effects system looks pretty interesting.
- deleted 6y ago[deleted]
- scns 6y agoIt has concurrency allready, LWT and a solution from Jane Street. Parallelism is dropping soon.
- dwohnitmok 6y agoOCaml's compile speed is very very fast. I think it's actually quite a bit faster than Go's compile speed.
- yawaramin 6y agoOCaml has really good libraries for concurrency–e.g. check out https://github.com/ocsigen/lwt https://github.com/ocsigen/lwt There is a GIL (like Node/Python) that means only one thread runs at any moment in time, but multiple threads can still be started. Lwt's Promise abstraction is very similar to Node's, except it's at the library level, not at the runtime level.