Damus
slembcke profile picture
slembcke
@slembcke
Experimenting with making a WASM build of @nprofile1q... again. The tooling seems less terrible than the last time I tried. Kinda sorta got it up and running in a few hours.
I had to disable threading and faff about with emscripten's fiber emulation nonsense to make it runnable at all. It starts up, loads all the data, audio and input works... except glDrawElementsInstanced() throws "Invalid operation" so the screen is just black. lol
1
slembcke · 3w
Debugging WASM seems to not really be a real thing, and so it's been mostly printf based. Coupled with the ~50x worse compile-link-run cycle makes this less than fun. (from like a few hundred milliseconds to about 10 seconds, and forget about hotloading lol) Spector.js seems useful for debugging th...