Emscripten takes LLVM bitcode - which can be generated from C/C++, using llvm-gcc or clang, or any other language that can be converted into LLVM - and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run).
Using Emscripten, you can:
· Compile C and C++ code into JavaScript and run it on the web
· Run code in programming languages like Python as well, by compiling CPython from C to JavaScript and interpreting the code in that on the web
Detailed instructions on how to use Emscripten to compile your own code are available HERE.
Requirements:
· Python
What's New in This Release: [ read full changelog ]
· Poppler test and web demo
· Optimize compiler memory usage very significantly
· Support for LLVM 2.9
· Better interaction with closure compiler
· Finish docs/paper.pdf
· Many bug fixes