Want to learn and master Zig?

Join Exercism’s Zig Track for access to 98 exercises with automatic analysis of your code and personal mentoring, all 100% free.

About Zig

pub fn say() []const u8 {
    return "Hello, world!";
}
Image

98 coding exercises for Zig on Exercism. From Pangram to Flatten Array.


Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.

See all Zig exercises on ExercismImage
Image

Key Features of Zig


Zig
Image

Simple

Zig lets you focus on debugging your application rather than your programming language knowledge.

Image

Comptime

Zig has a fresh approach to metaprogramming based on compile-time code execution and lazy evaluation

Image

Performance

Zig produces fast and memory efficient executables: you are free to manage memory yourself.

Image

Safety

Zig lets you write fast, clear code capable of handling all error conditions.

Image

Cross-compile

Zig can build for a plethora of targets and cross-compiling is a first class use case.

Image

Community

Zig's community is decentralized. Development is funded by the non-profit Zig Software Foundation.

Image

Get mentored the Zig way

Every language has its own way of doing things. Zig is no different. Our mentors will help you learn to think like a Zig developer and how to write idiomatic code in Zig. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Zig - they'll help you discover the things you don't know that you don't know.

Learn more about mentoringImage
Image
Image

Community-sourced Zig exercises

The Zig track on Exercism has 98 exercises to help you write better code.

See all Zig exercisesImage
Image
Zig

Get started with the Zig track

The best part, it’s 100% free for everyone.

Join the Zig track