What's Next?
Congratulations
You have completed all twelve lessons. You now have a solid foundation in Zig's core features: variables, control flow, functions, error handling, arrays, structs, pointers, allocators, comptime, and optionals.
That is a real accomplishment. You understand the key ideas that make Zig unique among systems languages.
What to Explore Next
Here are topics to dive deeper into:
- Async/Await -- Zig has built-in support for async functions and event loops.
- SIMD and Vectors -- Zig exposes SIMD operations through its vector types.
- C Interop -- Import and use C libraries directly in Zig code with
@cImport. - Build System -- Zig's
build.zigreplaces Makefiles and CMake with Zig code. - Testing -- Zig has built-in test blocks that run with
zig test.
Build Something
The best way to learn is to build. Some project ideas:
- A command-line tool -- a file processor, argument parser, or system utility
- A simple HTTP server -- using Zig's standard library networking
- A data structure library -- implement a hash map, linked list, or B-tree
- A game -- using a Zig game framework or raw SDL bindings
References
- Zig Language Reference -- the official language documentation.
- Zig Standard Library Documentation -- API docs for the standard library.
- Ziglings -- small exercises to learn Zig.
- Zig News -- community articles and tutorials.
- Zig GitHub -- the source code and issue tracker.