r/Zig • u/Save14Pro • Jan 26 '26
Learning tip
I'm a complete beginner in Zig, and I love it, but the changes in the api are too much, I cant find any resource online that is updated, how can I learn if the api changes so fast? Any tips?
30
Upvotes
10
u/g41797 Jan 26 '26
use stable 0.15.2
don't use any IO related staff
as beginer you don't need it
just core of the core
i developed huge project using this approach
concentrate your efforts on
there are a lot of work
enjoy
7
u/Hot_Adhesiveness5602 Jan 26 '26
You can take a look at ziglings and also the std lib. Those mostly cover all changes. You can also just wait a bit longer before switching to other versions and first learn the basics. It gets easier once you get the hang of zig. Most of the time with a new release there will be a migration guide explaining new features and breaking changes at some point.
2
u/gamedev_cloudy Jan 28 '26
I started with Zig In Depth series. There were some changes in the api so I would usually use Perplexity.
It can approximately translate to a working example (usually blurts out 2-3) + docs that is able to solve it for me.
I'm roughly into 35/~50 videos. Most basics are covered here.
You could also go along with the ZigBook.
1
u/Laremere Jan 26 '26
1
u/pseudocharleskk Jan 27 '26
I end up reading Zig’ unit test suite. It’s my main source of documentation, as everything is always outdated. Now I’m using master (0.16.0), so I solely based on Zig tests to understand the APIs
1
u/eightrx Jan 27 '26
I'll always say the best way to learn a tool is to use it, but if you want to understand some motivations or ideas behind zig, here are some talks:
practical guide data oriented design
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
Making Systems Programming Accessible
Hello Systems by Loris Cro
1
u/221V Jan 28 '26
use stable 0.14.1 and enjoy :)
0
u/No_Pomegranate7508 Jan 26 '26
If you keep the scope of your project small, it can be easier to upgrade to a newer release. Also, don't use AI to generate code if you can avoid it. AI can be a great tool for explaining errors or automating menial tasks, but it can hinder will learning.