Zig#
Installation#
$ sudo snap install zig --classic --beta
Version#
$ zig version
0.13.0
Example#
hello.zig:
const std = @import("std");
pub fn main() !void {
const stdout = std.io.getStdOut().writer();
try stdout.print("Hello, {s}!\n", .{"World"});
}
$ zig build-exe hello.zig
$ ./hello
Hello, Wrld!