Emscripten 论文
2011引用 232
Software Testing and Debugging TechniquesSoftware Engineering ResearchLogic, programming, and type systems
详细信息
- 发表日期
- 2011-10-22
- 发表年份
- 2011
关键词
Software Testing and Debugging TechniquesSoftware Engineering ResearchLogic, programming, and type systems
摘要
We present Emscripten, a compiler from LLVM (Low Level Virtual Machine) assembly to JavaScript. This opens up two avenues for running code written in languages other than JavaScript on the web: (1) Compile code directly into LLVM assembly, and then compile that into JavaScript using Emscripten, or (2) Compile a language's entire runtime into LLVM and then JavaScript, as in the previous approach, and then use the compiled runtime to run code written in that language. For example, the former approach can work for C and C++, while the latter can work for Python; all three examples open up new opportunities for running code on the web.