Skip to content

SheatNoisette/vwasm_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V WebAssembly demo

Compile a simple V library into WebAssembly! Require Emscripten or Docker.

Build

Docker-less

You need to install Emscriptem, make and V.

make

docker emcc

docker build -t emscripten-v .
docker run --rm -v $(pwd):/src emscripten-v:latest make

Test

To see the output from the console, you need to run a simple web server. You can use python:

python -m http.server 8080

License

No credit required but appreciated - CC0