I wonder whether null problems can be solved by compiling with -fsanitize=null or it would be too slow and wasm-specific solution is desirable.
-fsanitize=null
BTW, if anyone wants to try this but is dreading the “build system” aspect of it, build2 has decent support for Emscripten. There is even Emscripten CI configuration so you can see which packages can be built for WASM (for example, libsqlite3).
build2
libsqlite3
I wonder whether null problems can be solved by compiling with
-fsanitize=nullor it would be too slow and wasm-specific solution is desirable.BTW, if anyone wants to try this but is dreading the “build system” aspect of it,
build2has decent support for Emscripten. There is even Emscripten CI configuration so you can see which packages can be built for WASM (for example,libsqlite3).