News for hackers. Stuff that matters.
Re:Go runtime: 4 years later by Zababa on Monday September 26, 2022 @06:01PM (#32989138)
> 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.

Re:Go runtime: 4 years later by nu11ptr on Monday September 26, 2022 @06:05PM (#32989170)
Agreed - 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.
Re:Go runtime: 4 years later by nextos on Monday September 26, 2022 @08:02PM (#32990219)
Yeah, 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.

Re:Go runtime: 4 years later by galangalalgol on Monday September 26, 2022 @07:37PM (#32990038)
What about F#?
Re:Go runtime: 4 years later by int_19h on Tuesday September 27, 2022 @03:34AM (#32992479)
Rust 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.
Re:Go runtime: 4 years later by lairv on Monday September 26, 2022 @08:46PM (#32990469)
Does OCaml matches Go speed though ?
Re:Go runtime: 4 years later by agent281 on Monday September 26, 2022 @10:44PM (#32991067)
They 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/...