Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 545 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 545 Bytes

C++ / WebAssembly Demo

This repo demonstrates compiling a C++ source file for execution in a web browser.

We use Emscripten to compile the source and generate a WebAssembly file (.wasm) that can be loaded via JavaScript in most modern browsers.

Run make to build and run the demo on http://localhost (this uses the emscripten/emsdk and nginx Docker images).

See the demo live on GitHub Pages at https://tomcant.dev/cpp-wasm-demo.