Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

Zig is an open source programming language created in 2015 by Andrew Kelley.

#52on PLDB 9Years Old 4kRepos
Download source code:
git clone

Try now: Riju · TIO

A programming language designed for robustness, optimality, and clarity.

Example from Compiler Explorer:
// Type your code here, or load an example. export fn square(num: i32) i32 { return num * num; }
Example from Riju:
const std = @import("std"); pub fn main() anyerror!void {"Hello, world!", .{}); }
Example from hello-world:
const std = @import("std"); pub fn main() !void { const stdout =; try stdout.print("Hello World", .{}); }

Language features

Feature Supported Token Example
Line Comments
Binary Literals
Strings "
"Hello world"
Print() Debugging std.debug.print

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll