Open-source C++ projects categorized as WASM

WebAssembly (abbreviated WASM) is a binary instruction format for a stack-​based virtual machine. WebAssembly is an open standard that defines a portable binary-code format for executable programs, and a corresponding textual assembly language, as well as interfaces for facilitating interactions between such programs and their host environment.

Top 23 C++ WASM Projects

  • filament

    Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

    Project mention: Looking for resources / mentor | /r/vulkan | 2023-06-13

    Also beginner here, I think you can learn other's codes to get a better understanding of the API by learning how others can abstract these concept into higher level. They're many great projects out there like Google's pbr renderer filament https://github.com/google/filament, AMD's gltf sample https://github.com/GPUOpen-LibrariesAndSDKs/glTFSample and also as many suggested, the Sascha Willems's repos https://github.com/SaschaWillems and the official sample https://github.com/KhronosGroup/Vulkan-Samples

  • SSVM

    WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.

    Project mention: WasmEdge 0.13.0: Unified CLI, ARM Support and Migrating Extensions to Plugins | news.ycombinator.com | 2023-07-02
  • SonarCloud

    Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.

  • NectarJS

    🔱 Javascript's God Mode. No VM. No Bytecode. No GC. Just native binaries.

    Project mention: Is it nearly impossible to make a TypeScript to binary complier? | /r/node | 2023-02-10

    The first google result for "JS to binary" was this: https://github.com/NerdLang/nerd, you might try to give it a spin. However these kinds of solutions come with a lot of caveats as of how to handle stdio, memory, and many other things that other languages, such as C and Go, handle natively as part of their stdlib...

  • highway

    Performance-portable, length-agnostic SIMD with runtime dispatch

    Project mention: Permuting Bits with GF2P8AFFINEQB | news.ycombinator.com | 2023-09-27

    Thanks for the link. We were previously using GFNI for bit reversal and 8-bit shifts, and I just extended that to our 8-bit BroadcastSignBit (https://github.com/google/highway/pull/1784).

  • asm-dom

    A minimal WebAssembly virtual DOM to build C++ SPA (Single page applications)

    Project mention: Blazor United - When it ships it would be the most glorious way to do web with .NET | /r/programming | 2023-01-25

    Aside from Blazor there's already some other projects like Yew (rust), seed (rust), asm-dom (C++) and vugu (Go) and more that have decent followings and activity. A lot more (especially managed languages) are waiting for some features to come online like wasm GC and host bindings (direct wasm access to browser apis which includes the DOM). It'll take a bit of time, but it'll get there eventually.

  • faust

    Functional programming language for signal processing and sound synthesis (by grame-cncm)

    Project mention: Glicol: Next-generation computer music language | news.ycombinator.com | 2023-09-02
  • wasm-fizzbuzz

    WebAssembly from Scratch: From FizzBuzz to DooM.

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • WaykiChain

    Public Blockchain as a Decentralized Finance Infrastructure Service Platform

  • cib

    clang running in browser (wasm)

    Project mention: Compile and execute C++ in browser | /r/cpp | 2023-01-21

    [2]: https://tbfleming.github.io/cib/

  • faasm

    High-performance stateful serverless runtime based on WebAssembly

  • WebGui

    An example demo of IMGUI (Immediate Mode GUI) on the web. Using only WebGL, GLFW and ImGui. Suitable for being compiled to web assembly (WASM).

    Project mention: Who is using C++ for web development? | /r/cpp | 2022-10-04

    You mean like this?

  • free-music-demixer

    Open-Unmix (UMX-L) running client-side in the browser with WebAssembly

    Project mention: Show HN: Improved freemusicdemixer – AI music demixing in the browser | /r/hackernews | 2023-09-16
  • bergamot-translator

    Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.

    Project mention: Firefox 118 | news.ycombinator.com | 2023-09-26

    It's possible with Neural Machine Translation models. Before being integrated into Firefox itself local translation was already available through the TranslateLocally add-on, see: https://browser.mt/

  • AlvaAR

    World tracking for WebAR. A Javascript library for Augmented Reality to run SLAM in the browser.

    Project mention: AlvaAR, SLAM algorithm running with WebAssembly in the browser | news.ycombinator.com | 2023-09-23
  • fizzy

    Fizzy aims to be a fast, deterministic, and pedantic WebAssembly interpreter written in C++. (by wasmx)

    Project mention: wasmer VS fizzy - a user suggested alternative | libhunt.com/r/wasmer | 2023-03-14
  • itk-wasm

    High performance spatial analysis in a web browser, Node.js, and across programming languages and hardware architectures

    Project mention: How to Debug WebAssembly Pipelines in Your Web Browser | dev.to | 2023-03-09

    This is an example to demonstrate browser-based debugging of C++-generated WebAssembly. For more information, please see the target="_blank" href="https://wasm.itk.org/examples/debugging.html">associated documentation.

  • kagome

    Kagome - C++17 implementation of Polkadot Host (by qdrvm)

  • proxy-wasm-cpp-sdk

    WebAssembly for Proxies (C++ SDK)

    Project mention: Unlocking Istio's Versatility: A Guide to WASM Plugins in Kubernetes | dev.to | 2023-07-24

    C++ SDK

  • wasp

    🐝 Wasp : Wasm programming language (by pannous)

    Project mention: How do you test compiler projects? | /r/Compilers | 2022-11-30
  • godot-wasm

    Interact with WebAssembly modules from Godot

    Project mention: Shout out to the 5% game devs in this subreddit | /r/ProgrammerHumor | 2023-06-01

    Personal plug, but if you wanna use any of the dozens of languages that compile to WebAssembly, you can do that too! https://github.com/ashtonmeuser/godot-wasm

  • chronotext-cross

    Cross platform infrastructure for developing 2d and 3d applications with C++ and OpenGL

    Project mention: 3d typography - Javascriptorium 6/6 (link in the comments) | /r/creativecoding | 2023-05-11

    C++ and OpenGL are used behind the scenes so the pipeline is optimal. I can't think of another combination to make it run faster than it is now (by the way, it runs on the desktop, on mobile devices, and on the browser, without modifying a single line of code, thanks to the chronotext-cross framework.)

  • wiregasm

    Packet Analyzer powered by Wireshark compiled for WebAssembly

    Project mention: Show HN: Wiregasm, Packet Analyzer Powered by Wireshark Compiled for WebAssembly | news.ycombinator.com | 2023-02-20
  • RoguelikeTutorial2020

    r/RoguelikeDev Does The Complete Roguelike Tutorial

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-27.

C++ WASM related posts


What are some of the best open-source WASM projects in C++? This list will help you:

Project Stars
1 filament 16,322
2 SSVM 6,676
3 NectarJS 3,498
4 highway 2,801
5 asm-dom 2,741
6 faust 2,265
7 wasm-fizzbuzz 1,449
8 WaykiChain 1,048
9 cib 810
10 faasm 776
11 WebGui 547
12 free-music-demixer 263
13 bergamot-translator 239
14 AlvaAR 224
15 fizzy 194
16 itk-wasm 165
17 kagome 134
18 proxy-wasm-cpp-sdk 125
19 wasp 98
20 godot-wasm 59
21 chronotext-cross 43
22 wiregasm 33
23 RoguelikeTutorial2020 31
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.