5 ms·
> In the end I think if someone were to write a slightly simpler version of Rust with the Go runtime it might be pretty neat. OCaml kind of gives you that, but
by Zababa 4y ago
> In the end I think if someone were to write a slightly simpler version of Rust with the Go runtime it might be pretty neat.
OCaml kind of gives you that, but the dev experience isn't as good as Rust or Go in my opinion. Still, I enjoy it a lot, more than Go or Rust.
- nu11ptr 4y agoAgreed - I really like OCaml. Unfortunately it isn't popular enough to get tons of ecosystem love, so I could never find the libraries I need. I'd be pretty happy if it got more popular. Maybe the new multicore work will help.
- galangalalgol 4y agoWhat about F#?
- nextos 4y agoYeah, came here to say the same thing. OCaml is pretty great, and the addition of multicore and algebraic effects will make it even better. It does have some unique ecosystem elements such as Coq, WhyML, Mirage, etc. But common components could be definitely improved.
- lairv 4y agoDoes OCaml matches Go speed though ?
- agent281 4y agoThey actually sit right next to each other on programming language benchmarks game. Scroll down to CPU seconds, median and percentiles. https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- int_19h 4y agoRust is basically what you get if you start with OCaml, remove the GC, and add enough features to the type system to compensate for that without giving up on safety.