Hello World in Zig
Lately, I hear good things about the Zig Programming Language.
Here is the Hello, World! program in Zig:
const std = @import("std");
pub fn main() !void {
try std.io.getStdOut().writer().print("Hello, World!\n", .{});
}
Executing it, generates the following output:
$ zig run /tmp/hw.zig
Hello, World!