News for hackers. Stuff that matters.
Re:JSCaml: A compile-time transformation from JavaScript to ... by rubiquity on Tuesday March 21, 2017 @04:32PM (#13925953)
Pretty sweet if I understand that this is a front-end for the OCaml compiler! This means you could run your typed JS on OCaml's runtime instead of Node.js. Granted, the availability of npm packages will be small since most of them aren't typed by Flow but in theory you could use OCaml libraries?

Or you could just write Reason I suppose. :) There's a crazy permutation of ways to write code that can run in a browser or server run time these days!

Re:JSCaml: A compile-time transformation from JavaScript to ... by kmicklas on Tuesday March 21, 2017 @04:57PM (#13926143)
> There's a crazy permutation of ways to write code that can run in a browser or server run time these days!

Unfortunately the state of tooling and runtime support is far behind the idealized closure of the transpilation graph.