Everything can be written by JS will be written by JS. – Atwood’s law


In this presentation, various source to source compiler is covered. Since most of VM are written in C, and we have C to JS Translator already, we basically could translate any language to JS, and run it on the web.


The second part covers embedding other languages to JS. Personally, I don’t like mixing different languages, but maybe this is inevitable in large projects.


Jeremy Ashkenas’s list has many dozen.

  • Java-2-C: XMLVM
  • C-2-JS: Emscripten