C++ WASM

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

  1. emscripten

    Emscripten: An LLVM-to-WebAssembly Compiler

    Project mention: WASM GC isn't ready for realtime graphics | news.ycombinator.com | 2025-01-19

    The best solution is to reduce the amount of allocation calls in your code, then you can use a slow-and-small allocator like emmalloc: https://github.com/emscripten-core/emscripten/blob/main/syst...

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. filament

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

    Project mention: A-Share Market Surge - FAV0 Weekly #016 | dev.to | 2024-09-29

    Filament - A modern, efficient graphics engine suitable for real-time rendering, link: http://google.github.io/filament.

  4. 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.

  5. highway

    Performance-portable, length-agnostic SIMD with runtime dispatch

    Project mention: Three Fundamental Flaws of SIMD | news.ycombinator.com | 2025-04-26

    I quite like highway.

    As mentioned, last time I tried vqsort for RVV it was surprisingly slow.

    I tried to replicate it yesterday, but noticed that vqsort is now disabled for RVV: https://github.com/google/highway/blob/400fbf20f2e40b984be12...

    Does highway support sorting networks for non-128-bit vector registers?

    When I tried to compile it for AVX512, the BaseCase seems to only use xmm registers: https://godbolt.org/z/qr9xoTGKn

  6. NectarJS

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

  7. asm-dom

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

  8. faust

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

    Project mention: De Bruijn notation, and why it's useful | news.ycombinator.com | 2025-05-30

    The Faust compiler uses de Bruijn indices internally to reuse computations. Anyone else know any other examples?

    https://github.com/grame-cncm/faust

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. wasm-fizzbuzz

    WebAssembly from Scratch: From FizzBuzz to DooM.

    Project mention: DOOM...*rendered* using a single DIV and CSS! 🤯🔫💥 | dev.to | 2025-05-10

    There are some really interesting parts around sending commands to WASM applications in there, I would encourage you to explore those yourself, along with the super interesting article by Cornelius Diekmann on porting DOOM to WASM I mentioned earlier.

  11. WaykiChain

    Public Blockchain as a Decentralized Finance Infrastructure Service Platform

  12. faasm

    High-performance stateful serverless runtime based on WebAssembly

  13. hlslpp

    Math library using HLSL syntax with multiplatform SIMD support

    Project mention: Hlslpp: Math library using HLSL syntax with multiplatform SIMD support | news.ycombinator.com | 2025-06-11
  14. cib

    clang running in browser (wasm)

    Project mention: Clang in Browser | news.ycombinator.com | 2024-07-14
  15. 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: ImRAD is a GUI builder for the ImGui library | news.ycombinator.com | 2024-08-15

    ImGUI generally runs on GLFW and there is even a port to html5: https://github.com/jnmaloney/WebGui

    ImRAD appears to be based on GLFW as well so one would only have to follow a tutorial: https://uncovergame.com/2015/01/21/porting-a-complete-c-game...

  16. threepp

    C++20 port of three.js (r129)

  17. AlvaAR

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

  18. bergamot-translator

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

    Project mention: AI makes the humanities more important, but also a lot weirder | news.ycombinator.com | 2025-06-03

    I'm not sure whether you're missing the point by a mile, or whether I am.

    The transformer architecture, later modified to create GPT models, was originally designed for translation. The modifications to make it do predictive text in a chatbot style make it much, much worse at translating. Using the tech appropriately gives you things like Project Bergamot: https://browser.mt/.

  19. mujoco_wasm

    Simulate and Render MuJoCo Models in the Browser!

    Project mention: MuJoCo Demo | news.ycombinator.com | 2025-02-27
  20. godot-wasm

    Interact with WebAssembly modules from Godot

    Project mention: Lua Is So Underrated | news.ycombinator.com | 2024-12-26

    The WebAssembly component model is aimed at having composable components that can call each other. The components can be written in any language, compiled to WebAssembly, and interoperate: https://github.com/WebAssembly/component-model/

    Extism is a plugin framework for WebAssembly:

    https://extism.org/

    https://github.com/extism/extism

    Visual Studio Code can run WebAssembly extensions: https://code.visualstudio.com/blogs/2024/05/08/wasm

    A project to bring WebAssembly plugins to Godot: https://github.com/ashtonmeuser/godot-wasm

    WasmEdge can be embedded in applications: https://wasmedge.org/docs/embed/overview

    Wasmer can be embedded in applications: https://blog.wasmer.io/executing-webassembly-in-your-rust-ap...

    Wasmtime can be embedded in applications: https://docs.wasmtime.dev/lang.html

  21. fizzy

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

  22. kagome

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

  23. datachannel-wasm

    C++ WebRTC Data Channels and WebSockets for WebAssembly in browsers

  24. proxy-wasm-cpp-sdk

    WebAssembly for Proxies (C++ SDK)

  25. rain

    The fastest 128-bit and 256-bit hash, passes all tests, and under 140 source lines of code. API library and CLI tool in C++ and NodeJS/Wasm (by DOSAYGO-STUDIO)

    Project mention: Show HN: Rain hashes – well designed, simple and fast variable sized hashes | news.ycombinator.com | 2024-12-13
  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C++ WASM discussion

Log in or Post with

C++ WASM related posts

  • AI makes the humanities more important, but also a lot weirder

    2 projects | news.ycombinator.com | 3 Jun 2025
  • DOOM...*rendered* using a single DIV and CSS! 🤯🔫💥

    1 project | dev.to | 10 May 2025
  • When Should I Use WebAssembly?

    3 projects | dev.to | 12 Mar 2025
  • MuJoCo Demo

    1 project | news.ycombinator.com | 27 Feb 2025
  • WASM GC isn't ready for realtime graphics

    2 projects | news.ycombinator.com | 19 Jan 2025
  • Lua Is So Underrated

    27 projects | news.ycombinator.com | 26 Dec 2024
  • Jaws – a JavaScript to WASM ahead of time compiler

    8 projects | news.ycombinator.com | 9 Nov 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 emscripten 26,607
2 filament 18,582
3 SSVM 9,543
4 highway 4,703
5 NectarJS 3,608
6 asm-dom 2,810
7 faust 2,763
8 wasm-fizzbuzz 1,515
9 WaykiChain 1,045
10 faasm 902
11 hlslpp 888
12 cib 848
13 WebGui 774
14 threepp 680
15 AlvaAR 411
16 bergamot-translator 382
17 mujoco_wasm 258
18 godot-wasm 235
19 fizzy 227
20 kagome 171
21 datachannel-wasm 168
22 proxy-wasm-cpp-sdk 154
23 rain 126

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?