News for hackers. Stuff that matters.
Re:Reason ML toolchain by skybrian on Tuesday February 06, 2018 @12:20PM (#16317701)
But that's just syntax. As you say, it doesn't mean an arbitrary library written in OCaml will actually run in the browser due to dependencies. It doesn't matter if you can link the code if it won't actually work.

I'm reminded of GWT where there is client-only Java, server-only Java, and portable (shared) Java. It's all Java but you definitely have to keep your desired platform's constraints in mind when looking for a library to reuse.

Re:Reason ML toolchain by didibus on Tuesday February 06, 2018 @02:09PM (#16318624)
You can try Doppio and JavaPoly. Its a full JVM running on JS, and works with most Java libraries that don't do things which would go against what the JS sandbox is allowed to do.
Re:Reason ML toolchain by aidenn0 on Tuesday February 06, 2018 @02:25PM (#16318753)
Last time I used Doppio, it was really slow. As in something that took 10s on the jvm took hours on Doppio; has performance improved in the last couple of years?