Zig WebAssembly

Open-source Zig projects categorized as WebAssembly

Top 6 Zig WebAssembly Projects

  • mach

    zig game engine & graphics toolkit

  • Project mention: Zig Software Foundation 2024 Financial Report and Fundraiser | news.ycombinator.com | 2024-01-18

    Myself and many others are betting on Zig in major ways, I truly think it has a bright future ahead.

    In spare time, myself and a few others are working on a game engine in Zig[0], and the Zig core team has been very receptive to addressing issues our project faces and supporting us.

    Others are working on pixel art editors[1], open source 2D RPG games[2], there's a group of independent folks working on a 3D massive immersive sim game[3], a group working on making Zig an amazing language for micro-controllers[4], etc.

    Please consider donating $5-10 a month to the ZSF! They are a great group of people, and it has so many knock-on effects for others in the FOSS community. :)

    [0] https://machengine.org/

    [1] https://github.com/foxnne/pixi

    [2] https://github.com/foxnne/aftersun

    [3] https://github.com/Srekel/tides-of-revival

    [4] https://github.com/ZigEmbeddedGroup

  • libxev

    libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.

  • Project mention: libxev: A cross-platform, high-performance event loop | news.ycombinator.com | 2024-04-17

    io_uring support is obviously great & excellent, fulfills the "high performance" part well.

    i was not expecting "Wasm + WASI" support at all. that's very cool. implementation is wasi_poll.zig (https://github.com/mitchellh/libxev/blob/main/src/backend/wa...). not to be unkind, but this makes me wonder very much if WASI is already missing the mark, if polling is the solution offered.

    gotta say, this is some very understandable clean code. further enhancing my sense that i really ought be playing with zig.

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

    InfluxDB logo
  • zeroman

  • Project mention: Ask HN: What's the most beautiful web game you've seen? | news.ycombinator.com | 2023-10-18
  • minimal-zig-wasm-canvas

    A minimal example showing how HTML5's canvas, wasm memory and zig can interact.

  • zig-wasm-test

    A minimal Web Assembly example using Zig's build system.

  • Dodgeballz

    A mini game using Zig, WASM and JS

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

Zig WebAssembly related posts

  • 0.11.0 Release Notes

    12 projects | news.ycombinator.com | 3 Aug 2023
  • Unlocking Istio's Versatility: A Guide to WASM Plugins in Kubernetes

    5 projects | dev.to | 24 Jul 2023
  • Is there any way to interop with JS in Zig/RS/C/C++?

    3 projects | /r/Zig | 10 Sep 2022
  • Zig and WASM

    11 projects | news.ycombinator.com | 13 Jul 2022

Index

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

Project Stars
1 mach 2,832
2 libxev 1,618
3 zeroman 90
4 minimal-zig-wasm-canvas 73
5 zig-wasm-test 49
6 Dodgeballz 4

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com