5 ms·
"If what you care about is compatibility with Apple/MS browsers, then generate JavaScript from your intermediate bitcode/bytecode" Which is precisely what the
by pcwalton 14y ago
"If what you care about is compatibility with Apple/MS browsers, then generate JavaScript from your intermediate bitcode/bytecode"
Which is precisely what the Mozilla Emscripten project does.
- skatepark 14y agoEmscripten doesn't treat LLVM bitcode as a first-class target, it treats it as an intermediate target to be translated into JavaScript. [high level language] -> [low level representation] -> [high level language] -> [low level representation] -> [execution] This is ridiculous to aim for as your first-order target.