Re:WebAssembly becomes a W3C Recommendation
by chrismaltby on Monday December 16, 2019 @02:40PM
(#21806367)
That looks awesome! I noticed that you don't have Game Boy on there, not sure if it's useful to you but I started to make a WebAssembly port of GBDK: https://github.com/chrismaltby/gbdk-emscripten which I was planning to use in my Game Boy game maker eventually https://www.gbstudio.dev/
Re:WebAssembly becomes a W3C Recommendation
by joeraut on Monday December 16, 2019 @01:40PM
(#21805714)
This looks awesome, great project!
Which specific CPUs or applications that you emulate really take advantage of the performance boost that WASM provides?
Re:WebAssembly becomes a W3C Recommendation
by sehugg on Monday December 16, 2019 @03:59PM
(#21807135)
Thanks -- we use Emscripten/WASM mainly for running command-line compilers/assemblers (like cc65 and SDCC).
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.
I was using asm.js in the past, but WASM gives a noticeable and necessary performance boost.