How do I compile C++ to JavaScript in a browser?

前端 未结 1 1055
孤城傲影
孤城傲影 2021-02-09 06:12

I\'m aware of Emscripten and LLVM, but neither are written in JavaScript intended for a browser.

As far as I can tell, the tools exist, but they haven\'t been put togeth

相关标签:
1条回答
  • 2021-02-09 06:20

    In theory, it may be possible to develop a self-hosting version of Emscripten that runs in a browser, though this hasn't been done yet.

    Alternatively, it is possible to run a C++ compiler (or even an entire operating system) using an x86 emulator in JavaScript.

    0 讨论(0)
提交回复
热议问题