|
|
|
|
|
by jimbokun
4597 days ago
|
|
Is OCaml, then, a good fit for the kinds of programs many people have started writing in Go? Native, stand alone binaries. High performance (not sure how the Go vs. OCaml benchmarks look right now). Good networking. More productive and less error prone than C or C++. Less verbose than Java. Haven't written any OCaml programs, but seems to check the same boxes. Go seems to have a much better concurrency story with channels. OCaml seems to have a much better type system and functional programming support. |
|
For the work I do (data analysis and scientific research, particularly on recommender systems, with system-building to support that), if I need concurrency, it's suitable to run the program on the JVM. So I would use Scala in that case, and OCaml would be fine for the other systems-y stuff.
I personally have taken to writing such code in Haskell these days, but that's largely to practice my FP skills in a manner that's easier to transfer back to Scala.