SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C WASM Projects
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
space-shooter.c
A cross-platform, top-down 2D space shooter written in C using only platform libraries.
-
wasm-git
GIT for nodejs and the browser using https://libgit2.org compiled to WebAssembly with https://emscripten.org
-
cowasm
CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.
-
scale
A framework for building high-performance plugin systems into any application, powered by WebAssembly.
-
aWsm
WebAssembly ahead-of-time compiler and runtime. Focuses on generating fast code, simplicity, and portability.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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",
Project mention: Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests | news.ycombinator.com | 2024-04-07There's already ffmpeg wasm. I've used it in projects. Works great.
https://github.com/ffmpegwasm/ffmpeg.wasm
Project mention: Show HN: Mutable.ai – Turn your codebase into a Wiki | news.ycombinator.com | 2024-01-08As 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
Here is what you are looking for: https://github.com/bytecodealliance/wasm-micro-runtime
Project mention: A list of JavaScript engines, runtimes, interpreters | /r/learnjavascript | 2023-12-10txiki.js
Project mention: Beginner, intermediate, and advanced c programming projects | /r/C_Programming | 2023-12-09You can do something like this, but way less polished and stick to one platform: https://github.com/tsherif/space-shooter.c/tree/master
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
Project mention: McDonald's Just Dropped a Brand New Game Boy Game in 2023 | news.ycombinator.com | 2023-06-13This 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
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
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-15why not manky MP3 encoders too? toots/shine is particularly boggin.
If it has a web browser...
C WASM related posts
-
Doom-htop: The classic DOOM game over htop
-
Bpftop: Streamlining eBPF performance optimization
-
WASM Instructions
-
Russians destroyed house of Wasm3 maintainer, the project on minimal maintenance
-
Wam3 maintainers house blown up
-
Wasm3 entering a minimal maintenance phase
-
Building a Web Game in C with Raylib
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 May 2024
Index
What are some of the best open-source WASM projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | raylib | 19,264 |
2 | ffmpeg.wasm | 13,110 |
3 | wasm3 | 6,998 |
4 | wasm-micro-runtime | 4,553 |
5 | txiki.js | 2,354 |
6 | cglm | 2,067 |
7 | iPlug2 | 1,814 |
8 | space-shooter.c | 1,317 |
9 | SkyEmu | 764 |
10 | w2c2 | 679 |
11 | wasm-git | 588 |
12 | edge-sql | 555 |
13 | onyx | 515 |
14 | binjgb | 514 |
15 | cowasm | 466 |
16 | wac | 465 |
17 | scale | 464 |
18 | shine | 387 |
19 | Olaf | 306 |
20 | aWsm | 290 |
21 | doom-wasm | 270 |
22 | react-native-webassembly | 242 |
23 | vmrp | 221 |
Sponsored