Emscripten is an LLVM to JavaScript compiler. It takes LLVM bitcode (which can be generated from C/C++ using Clang, or any other language that can be converted into LLVM bitcode) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run).
En résumé, tous les langages compilables par LLVM peuvent être transcrits en JS via Emscripten.
Il y a pas mal de limitations dans Emscripten. La liste des anomalies (https://github.com/kripken/emscripten/issues) donne déjà le sentiment qu'on n'en est qu'au début du projet.
[^] # Re: Intéressant, mais...
Posté par _seb_ . En réponse au journal La stratégie de Mozilla pour les jeux vidéo sur le Web ouvert. Évalué à 4.
Sur la page Officiel Emscripten:
Emscripten is an LLVM to JavaScript compiler. It takes LLVM bitcode (which can be generated from C/C++ using Clang, or any other language that can be converted into LLVM bitcode) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run).
En résumé, tous les langages compilables par LLVM peuvent être transcrits en JS via Emscripten.
Il y a pas mal de limitations dans Emscripten. La liste des anomalies (https://github.com/kripken/emscripten/issues) donne déjà le sentiment qu'on n'en est qu'au début du projet.