2 ms·
Excuse me jumping on the hype train for a bit, but in a way the web and wasm is just that. For instance I was able to embed my emulators (written in C and C++)
by flohofwoe 3y ago
Excuse me jumping on the hype train for a bit, but in a way the web and wasm is just that.
For instance I was able to embed my emulators (written in C and C++), compiled to WASM, and an old assembler cmdline tool written in the 1990's in C89 compiled to WASI, and integrate those as 'components' into Visual Studio Code:
https://floooh.github.io/2023/12/31/vscode-wasm-wasi.html https://floooh.github.io/2023/12/31/vscode-wasm-wasi.html
That same WASM blob would run without recompilation in any environment which provides a WASM runner and a subset of web APIs (mainly WebGL and WebAudio), and the emulator WASI blob runs out of the box in any WASI runner.