emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.82k stars 3.31k forks source link

Where possible, we should move JavaScript to native/wasm code #15151

Open sbc100 opened 3 years ago

sbc100 commented 3 years ago

This is meta-issue for ongoing work for move as much code as possible out of JavaScript and into C/C++.

In particular it would be good to focus of code that does HEAP access from JavaScript. Doing this instead from native code has several advantages:

sbc100 commented 4 months ago

See #21379 and #22158