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.

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

    WorkOS 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). The latest post mention was on 2024-04-17.

Zig WebAssembly related posts

Index

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

Project Stars
1 mach 2,759
2 libxev 1,431
3 zeroman 89
4 minimal-zig-wasm-canvas 70
5 zig-wasm-test 49
6 Dodgeballz 4
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com