I use it in a web worker to compile, assemble, and link C programs into 8-bit ROMs: https://8bitworkshop.com/
I was using asm.js in the past, but WASM gives a noticeable and necessary performance boost.
I was using asm.js in the past, but WASM gives a noticeable and necessary performance boost.
Which specific CPUs or applications that you emulate really take advantage of the performance boost that WASM provides?
Right now the emulators are all in JavaScript (except for MAME) which makes integrating with the IDE's debugging tools a little easier. It's performant enough for now, since we only have 8-bit platforms at low clock speeds.
Integrating a C emulation library like https://github.com/floooh/chips should be doable, since it doesn't have any dependencies.