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

  • raylib

    A simple and easy-to-use library to enjoy videogames programming

    Project mention: Ask HN: Do you know any open source (2D or 3D) asset libraries? | news.ycombinator.com | 2024-02-27
  • ffmpeg.wasm

    FFmpeg for browser, powered by WebAssembly

    Project mention: FFmpeg-online: ffpmeg running on the browser | news.ycombinator.com | 2023-10-15

    As their github page says, based on https://ffmpegwasm.netlify.app ...

    I'm guessing no one did GPU-optimizations? I saw a web app (not an ffmpeg transpilation) that went clever and used WebGL so it can access the GPU and use its parallel processing capabilities...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • wasm3

    🚀 A fast WebAssembly interpreter and the most universal WASM runtime

    Project mention: Show HN: Mutable.ai – Turn your codebase into a Wiki | news.ycombinator.com | 2024-01-08

    As long as this is happening, might as well try some of my favorites: https://github.com/wasm3/wasm3, https://github.com/WebAssembly/wabt, https://github.com/bytecodealliance/wasmtime

  • wasm-micro-runtime

    WebAssembly Micro Runtime (WAMR)

    Project mention: Build your own WebAssembly Compiler | news.ycombinator.com | 2023-12-03

    Here is what you are looking for: https://github.com/bytecodealliance/wasm-micro-runtime

  • txiki.js

    A tiny JavaScript runtime

    Project mention: A list of JavaScript engines, runtimes, interpreters | /r/learnjavascript | 2023-12-10


  • iPlug2

    C++ Audio Plug-in Framework for desktop, mobile and web

  • space-shooter.c

    A cross-platform, top-down 2D space shooter written in C using only platform libraries.

    Project mention: Beginner, intermediate, and advanced c programming projects | /r/C_Programming | 2023-12-09

    You can do something like this, but way less polished and stick to one platform: https://github.com/tsherif/space-shooter.c/tree/master

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • SkyEmu

    Game Boy Advance, Game Boy, Game Boy Color, and Nintendo DS Emulator

    Project mention: Open source GBA emulators? | /r/EmulationOnAndroid | 2023-05-08

    Skyemu has a Web version that's usable on Android. Other than that, I don't think there's any new one.

  • w2c2

    Translates WebAssembly modules to portable C

    Project mention: Build your own WebAssembly Compiler | news.ycombinator.com | 2023-12-03

    For AOT, the simplest approach, that actually produces the fastest native code, is to naively translate WASM opcodes to C.

    This is for example what W2C2 does: https://github.com/turbolent/w2c2

  • wasm-git

    GIT for nodejs and the browser using https://libgit2.org compiled to WebAssembly with https://emscripten.org

  • edge-sql

    Cloudflare Workers providing a SQL API

  • binjgb

    Gameboy emulator implemented in C, that also runs in the browser

    Project mention: McDonald's Just Dropped a Brand New Game Boy Game in 2023 | news.ycombinator.com | 2023-06-13

    This is using my gameboy emulator, binjgb[0], on the website! (well one of my gameboy emulators, heh [1][2]) It's been used as the emulator for GB Studio for a little while now, but I don't know how often people embed it in their websites, so it's really cool to see.

    [0] https://github.com/binji/binjgb

  • wac

    WebAssembly interpreter in C

  • scale

    A framework for building high-performance plugin systems into any application, powered by WebAssembly.

    Project mention: WASM by Example | news.ycombinator.com | 2023-11-15

    This is exactly one of the use-cases for the Scale Framework[1]. (Disclaimer: I work on this project)

    You can absolutely take a library from one language and run it in another. In a sense, you could kind of see this ability as drastically reducing the need for rewriting sdks, middlewares, etc. across languages, as you could just reuse code from one language across many others. We played around with some fun ideas here, like taking a Rust regex library and using it in a Golang program via a scale function plugin (compiled to Wasm), to the effect of the performance being ~4x faster than native code that uses Go's regex library.

    [1] https://github.com/loopholelabs/scale

  • cowasm

    CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.

    Project mention: bsdutils: Alternative to GNU coreutils using software from FreeBSD | news.ycombinator.com | 2023-03-02

    For fun, I ported much of BSDutils to WebAssembly. Code [1] and live demo [2]. It was much, much easier porting BSDutils than GNU coreutils, since the source code is often much smaller, and hence easier to read and understand with simpler dependencies.

    [1] https://github.com/sagemathinc/cowasm/tree/main/core/coreuti...

  • shine

    Super fast fixed-point MP3 encoder with JS/wasm and android native bindings.

    Project mention: Picked up an Asus Eee PC 2g Surf! (Linux edition) Hand is for size reference. Genuinely the cleanest condition I've ever seen one in! | /r/retrocomputing | 2023-06-15

    why not manky MP3 encoders too? toots/shine is particularly boggin.

  • Olaf

    Olaf: Overly Lightweight Acoustic Fingerprinting is a portable acoustic fingerprinting system.

  • aWsm

    WebAssembly ahead-of-time compiler and runtime. Focuses on generating fast code, simplicity, and portability.

  • doom-wasm

    Chocolate Doom WebAssembly port with WebSockets support

    Project mention: Self-checkout scanner at Swedish grocery store | /r/softwaregore | 2023-06-22

    If it has a web browser...

  • vmrp

    mrp emulator, virtual machine, mrp模拟器

  • react-native-webassembly

    ⚛️ 🏎 WebAssembly for React Native powered by JSI.

    Project mention: It's now possible to execute native WebAssembly on React Native using Wasm3! | /r/reactnative | 2023-03-25

    Yes! Every demonstration included in the example app pulls file content from GitHub at runtime (though this could also be declared statically).

  • rust-nes-emulator

    NES Emulator written in Rust (by kamiyaowl)

    Project mention: Looking for Feedback on a Long-Term Plan | /r/EmuDev | 2023-06-05

    [Embedded NES][Rust] https://github.com/kamiyaowl/rust-nes-emulator [Embedded NES][Rust]https://github.com/henrikpersson/potatis

  • wasm-nginx-module

    Run Wasm in OpenResty/Nginx

  • 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 2024-02-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 raylib 17,890
2 ffmpeg.wasm 12,515
3 wasm3 6,882
4 wasm-micro-runtime 4,361
5 txiki.js 2,253
6 iPlug2 1,756
7 space-shooter.c 1,317
8 SkyEmu 692
9 w2c2 655
10 wasm-git 570
11 edge-sql 550
12 binjgb 505
13 wac 459
14 scale 447
15 cowasm 443
16 shine 379
17 Olaf 301
18 aWsm 278
19 doom-wasm 269
20 vmrp 209
21 react-native-webassembly 208
22 rust-nes-emulator 199
23 wasm-nginx-module 175
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives