Use Emscripten with the new LLVM WebAssembly backend.
https://github.com/WebAssembly/waterfall
wasm-binaries and nodejsemcc, emmake, etc to PATHsudo docker run --rm -e EMCC_WASM_BACKEND=1 -v $(pwd):/src jc776/emsdk-wasm emcc -s WASM=1 hello.c -o hello.html
# serve this directory - CORS requests
sudo docker run --rm -it -v $(pwd):/var/www:ro -p 8080:8080 trinitronx/python-simplehttpserver
Content type
Image
Digest
Size
483.7 MB
Last updated
almost 9 years ago
docker pull jc776/emsdk-wasm