2024-05-19

WebAssembly

WebAssembly logo

WebAssembly (WASM) is a binary code format for a stack-based virtual machine. WASM is designed as a portable target for compiling high-level languages like C/C++/Rust/Go, enabling deployment on the web for both client and server applications.

https://webassembly.org/

All modern browsers support it, and it can also run on the server side, for example, on Fastly Compute@Edge or Cloudflare Workers platforms.

I rewrote a small project for generating PDF files with grid patterns from Go running on the server to Go-compiled-into-WASM running in the browser: https://grid.chuhlomin.com/