3 ms·
I definitely appreciate that being a C and C++ developer, but you're sorely misled if you think that runtime carries over. Emscripten just translates the langua
by andrewmcwatters 10y ago
I definitely appreciate that being a C and C++ developer, but you're sorely misled if you think that runtime carries over. Emscripten just translates the language to something usable through asm.js with a similar execution flow, but you end up running JavaScript. That's what it compiles to. Even WebAssembly is designed to run something that is consumed by the very same JavaScript runtime.
- shanwang 10y agoAre you sure about WebAssembly? I thought it's a new byte code standard and a completely new runtime on its own.
- andrewmcwatters 10y agoYeah, it's designed to pass through the same mechanisms that handle JavaScript. It's a new byte code standard afaik, too, but one that's used in those systems.