4 ms·
Those mentioned languages were designed to compile to JS. In addition, there are general purpose languages that compile pretty well to JS: * OCaml (js_of_
by vog 9y ago
Those mentioned languages were designed to compile to JS.
In addition, there are general purpose languages that compile pretty well to JS:
* OCaml (js_of_ocaml, bucklescript)
* Haskell
* etc.
Those have the advantage that they have a mature ecosystem of libraries, and have very good compilers to native code on server side as well.