Emscripten

@emscripten.org

Useful tips for using Emscripten's MEMORY64 flag, which enables wasm64 (64-bit pointers in wasm), based on the experience of SQLite: github.com/emscripten-c... In wasm64 all pointers are BigInts and not Numbers, and JS treats those differently in various ways (reasonably, but it can be surprising)

Tips Regarding 64-bit WASM Porting Pitfalls for JS · emscripten-core emscripten · Discussion #25341

What follows are random tips for folks who are interested in using Emscripten's -sMEMORY64=1 flag, based on recent work to get SQLite's JS pieces working with that. This post is primarily about fri...

github.com