A simple project I put together to see what WebAssembly is all about.
  • HTML 45.5%
  • WebAssembly 38.7%
  • Shell 15.8%
Find a file
2025-09-18 19:30:19 +02:00
.gitignore First commit 2021-07-09 21:19:58 -03:00
index.html First commit 2021-07-09 21:19:58 -03:00
math.wat First commit 2021-07-09 21:19:58 -03:00
README.md Moved repo from GitHub to Codeberg 2025-09-18 19:30:19 +02:00
test.sh First commit 2021-07-09 21:19:58 -03:00

WebAssembly example

A simple project I put together to see what WebAssembly is all about.

Installation

If you use Ubuntu, you can also use localops to install wabt and http-server. Then just clone this repo and you are done.

Files

  • index.html: here your WebAssembly functions are loaded and used.
  • math.wat: source code for simple mathematical functions written in WebAssembly text format.
  • test.sh: converts from WebAssembly text to WebAssembly binary formats, starts http-server in the current directory and opens index.html in your default browser.