rsciriano / wasm-samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WASM Samples

Compiling a New C/C++ Module to WebAssembly - WebAssembly | MDN

docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) \
  emscripten/emsdk emcc helloworld.c -o helloworld.html --shell-file template.html

https://github.com/tinygo-org/tinygo/tree/release/src/examples/wasm

tinygo build -o ./simple_call.wasm -target wasm ./simple_call.go
tinygo build -o ./advanced_call.wasm -target wasm ./advanced_call.go
tinygo build -o ./dom_interop.wasm -target wasm ./dom_interop.go

Links:

About


Languages

Language:JavaScript 80.5%Language:HTML 13.4%Language:Go 5.4%Language:CSS 0.7%