Thanks to the power of WebAssably we are able to bring the power of compiled languges like C/C++ to the web.
The wasm compiler creates binary instruction form out of source files that can be run in a stack-based virtual machine inside the any (modern) browser.
Find a demo version here
Note This is not perfect. It is a proof of concept and some first steps with wasm.
- NodeJS
- Npm
- Git
- Cmake
- make
- Python3
The
build.sh
script has does all the work.
It downloads the latest emscripten compiler, sets it up and runs the doom compile script.
Finaly it builds a static nodejs webserver and runs it.
This is a clone of SDL_DOOM form aserebryakov with some wasm specific canges applied.
All rights belong to id Software