News for hackers. Stuff that matters.
Re:Caramel: An OCaml for the Erlang VM by vihangd on Friday March 05, 2021 @08:23PM (#26364379)
Now only if we could have a decent OCaml/F# for the JVM too.. at least for GraalVM
Re:Caramel: An OCaml for the Erlang VM by lpedrosa on Saturday March 06, 2021 @06:15AM (#26366665)
Java as a language is becoming more and more like OCaml.

Once sealed types are introduced, we'll get closer and closer since you already have records and pattern matching.

Obviously, it'll never be the same. Java will always have it's ways of doing things, the community, etc.

I don't know who said it, but it was probably here in HN, where "if you squint very hard, you'll see what Brian et al are trying to accomplish". This was regarding the MLfication of Java.

Re:Caramel: An OCaml for the Erlang VM by darksaints on Friday March 05, 2021 @10:23PM (#26364901)
I know it's not OCaml, but you should really give Scala a try. Martin Odersky has never been shy about his love for SML and OCaml, and it really shines through in the semantics found in Scala.
Re:Caramel: An OCaml for the Erlang VM by programLyrique on Saturday March 06, 2021 @06:50AM (#26366808)
There is ocamljava: http://www.ocamljava.org/

But it does not seem to be maintained.