Skip to content

JoltWorksIO/cpp-wasm-starter

Repository files navigation

title cpp-wasm-starter
date 2026-04-28
author JoltWorks
tags
cpp
wasm
clang

C++ WASM Starter

Minimal starter project to build a WebAssembly binary from C++ source code.

Most of the artifacts (i.e., HTML, C++) are based on the works of other authors like Surma. The dot files .clang-format, .clang-tidy, .editorconfig are from Google and I did some minor changes. I put links to relevant sources in the respective files.

This project works fine on Ubuntu (WSL).

In your terminal, consider enterting these comands:

chmod +x setup.sh
sudo ./setup.sh

make run

Open a web browser and navigate to Console inside DevTools. (You should see a 17 there.)

About

A starter project to build a WebAssembly binary from C++ source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors