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

  • raylib

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

    Project mention: Zig! Can you C? | dev.to | 2024-04-04

    Fetch Packages... raylib... ./ray_test_zig/build.zig.zon:7:20: error: url field is missing corresponding hash field .url = "https://github.com/raysan5/raylib/archive/refs/tags/5.0.tar.gz", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: expected .hash = "1220c28847ca8e8756734ae84355802b764c9d9cf4de057dbc6fc2b15c56e726f27b",

  • ffmpeg.wasm

    FFmpeg for browser, powered by WebAssembly

    Project mention: Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests | news.ycombinator.com | 2024-04-07

    There's already ffmpeg wasm. I've used it in projects. Works great.

    https://github.com/ffmpegwasm/ffmpeg.wasm

  • 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

    txiki.js

  • cglm

    📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

  • iPlug2

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

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

  • 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

  • SkyEmu

    Game Boy Advance, Game Boy, Game Boy Color, and 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

  • onyx

    ✨ The compiler and developer toolchain for Onyx (by onyx-lang)

    Project mention: The Onyx Programming Language | /r/patient_hackernews | 2023-12-08
  • 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

  • wac

    WebAssembly interpreter in C

  • cowasm

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

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

  • react-native-webassembly

    ⚛️ 🏎 WebAssembly for React Native powered by JSI.

  • vmrp

    mrp emulator, virtual machine, mrp模拟器

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

C WASM related posts

Index

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

Project Stars
1 raylib 18,660
2 ffmpeg.wasm 12,957
3 wasm3 6,972
4 wasm-micro-runtime 4,459
5 txiki.js 2,318
6 cglm 2,039
7 iPlug2 1,788
8 space-shooter.c 1,317
9 SkyEmu 738
10 w2c2 667
11 wasm-git 584
12 edge-sql 555
13 binjgb 513
14 onyx 471
15 scale 459
16 wac 459
17 cowasm 458
18 shine 386
19 Olaf 305
20 aWsm 282
21 doom-wasm 270
22 react-native-webassembly 238
23 vmrp 209
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com