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

§Translation

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.

§Embedding

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.

§Reference

Jeremy Ashkenas’s list has many dozen.

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