Command Palette

Search for a command to run...

zig package icon
topolarity/zig

wasi

Public
wasmer run topolarity/zig

An experimental compilation of Zig's "stage2" compiler to WASI.

This compiler is not yet feature-complete, and some valid Zig programs do not compile correctly.

This one does, though:

const std = @import("std");
pub fn main() void {
    const stdout = std.io.getStdOut();
    stdout.writeAll("Hello world!") catch unreachable;
}

(Warning: EXPERIMENTAL) Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.


Github
More packages
zig build tool
fschuett avatar
Hello World, from Zig
Brian Ketelsen
Building a toy lang in zig
Chris Pecunies
Building a toy lang in zig
Chris Pecunies
Retro action-rpg game written in Zig
Chris Heyes
topolarity/zig v0.10.0-dev.4733+d02242661-2: (Warning: EXPERIMENTAL) Zig...