emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.6k stars 3.28k forks source link

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

Open sbc100 opened 2 years ago

sbc100 commented 2 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 2 months ago

See #21379 and #22158