C++ WebAssembly

Open-source C++ projects categorized as WebAssembly

Top 23 C++ WebAssembly Projects

  • emscripten

    Emscripten: An LLVM-to-WebAssembly Compiler

    Project mention: Playing with low-level memory in WebAssembly | dev.to | 2023-09-05

    Playing with low-level stuff is fun, but I won't use it anywhere in productionable code. Well, at least without considerable experience and understanding of the Emscripten code base.

  • 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: Orca-2-13B Runs Directly on Rust+WASM – No Python/C++ Hassles | news.ycombinator.com | 2023-11-26

    I see that they recently changed the intro of WasmEdge on Github [1] to " WasmEdge is the easiest and fastest way to run LLMs on your own devices. "

    Since it's a wasm runtime capable of many things I find bizarre that they now start describing it with a ultra-specific use case

    - [1] https://github.com/WasmEdge/WasmEdge

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • perspective

    A data visualization and analytics component, especially well-suited for large and/or streaming datasets.

    Project mention: React Spreadsheet 2 – Your Own Google Sheets | news.ycombinator.com | 2023-11-24

    Yes. We are working on adding support for aggregation and pivoting using https://github.com/finos/perspective

  • wabt

    The WebAssembly Binary Toolkit

    Project mention: Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR via Wazero | news.ycombinator.com | 2023-11-04

    You mean this? https://github.com/WebAssembly/wabt/blob/main/wasm2c/README....

    That seems like quite an undertaking. But at that point, It would make sense to cut out WASM entirely like https://datastation.multiprocess.io/blog/2022-05-12-sqlite-i...

  • magnum

    Lightweight and modular C++11 graphics middleware for games and data visualization

    Project mention: Want to a 3D game without a game engine but not having to deal with opengl stuff ? | /r/gamedev | 2022-12-09

    Magnum

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

  • wasm-fizzbuzz

    WebAssembly from Scratch: From FizzBuzz to DooM.

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

  • Diagon

    Interactive ASCII art diagram generators. :star2:

    Project mention: Architecture diagrams enable better conversations | news.ycombinator.com | 2023-08-22

    A few more ASCII-based tool that you could add into your workflow are https://arthursonzogni.com/Diagon/#Sequence which can be used to generate the ASCII that you input into something like Typogram (https://google.github.io/typograms/).

    For example, input:

      Renderer -> Browser: BeginNavigation()

  • swift

    WebAssembly support for the Swift programming language (by swiftwasm)

    Project mention: Thoughts on Swift and Objective-C | news.ycombinator.com | 2023-05-13

    The experience has really improved the last few months thanks to the Swift Server Work Group [3].

    - Apple platforms have their own Foundation implementation and the open-source one is incomplete.

    [1]: https://www.swift.org/source-code/

    [2]: https://swiftwasm.org/

    [3]: https://www.swift.org/blog/vscode-extension/

  • faasm

    High-performance stateful serverless runtime based on WebAssembly

  • duckdb-wasm

    WebAssembly version of DuckDB

    Project mention: DuckDB 0.9.0 | news.ycombinator.com | 2023-09-26

    Btw, it's already happening:

    Go to https://shell.duckdb.org, and type

  • N64Wasm

    A web based N64 Emulator

    Project mention: N64 iPhone web emulator | /r/OpenEmu | 2023-01-18
  • RaZ

    Modern & multiplatform 3D game engine in C++17

  • free-music-demixer

    free website for client-side music demixing, powered by Open-Unmix and 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/

  • OpenGL_CMake_Skeleton

    :heart: A ready to use cmake skeleton using GLFW, Glew and glm. :+1:

  • magnum-examples

    Examples for the Magnum C++11 graphics engine

  • 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
  • stockfish.wasm

    WebAssembly port of the strong chess engine Stockfish

    Project mention: I've developed ChessMonitor.com: a website to show chess analytics. Here is an example for Eric Rosen. Connect to Lichess/Chess.com to get your own stats (link in comments) | /r/chess | 2023-01-05

    Another option would be to run it in the browser as WASM: https://github.com/lichess-org/stockfish.wasm

  • krkrsdl2

    吉里吉里SDL2プロジェクト (吉里吉里2と吉里吉里Zがベース) / Kirikiri SDL2 Project (Based on Kirikiri 2 and Kirikiri Z)

  • 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
  • hera

    Hera: Ewasm virtual machine conforming to the EVMC API (by ewasm)

  • clang-wasm

    How to build webassembly files with nothing other than standard Clang/llvm.

    Project mention: Cheerp 3.0: The most advanced C++ compiler for the Web now permissively licensed | news.ycombinator.com | 2023-03-14

    I'm particularly curious on what parts cheerp adds to their clang+llvm base. Presumably it's something like the C standard target library for WASM/JS?

    For reference, here's examples of what you could do with the baseline clang with wasm (but not JS?) [1] [2] [3], referenced from a similar thread on HN.

    [1] https://github.com/ern0/howto-wasm-minimal

    [2] https://github.com/robrohan/wefx

    [3] https://github.com/PetterS/clang-wasm

  • SaaSHub

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

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-11-26.

C++ WebAssembly related posts

Index

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

Project Stars
1 emscripten 24,549
2 SSVM 7,188
3 perspective 6,971
4 wabt 5,958
5 magnum 4,567
6 asm-dom 2,758
7 wasm-fizzbuzz 1,453
8 Diagon 1,325
9 swift 1,207
10 faasm 790
11 duckdb-wasm 699
12 N64Wasm 559
13 RaZ 449
14 free-music-demixer 286
15 bergamot-translator 265
16 OpenGL_CMake_Skeleton 264
17 magnum-examples 256
18 AlvaAR 254
19 stockfish.wasm 228
20 krkrsdl2 225
21 fizzy 199
22 hera 176
23 clang-wasm 136
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com