News for hackers. Stuff that matters.
Re:Zig in 30 Minutes by sobeston on Sunday January 03, 2021 @10:44AM (#25622375)
Hi, I am currently writing ziglearn.org which aims to show a lot of detailed examples.
Re:Zig in 30 Minutes by StreamBright on Sunday January 03, 2021 @10:53AM (#25622429)
Please include the following if you have a chance:

- parsing command line arguments

- logging (loglevels, files, stdout/stderr, etc.)

- talking to a restful service via HTTP

Thanks in advance!

Re:Zig in 30 Minutes by sobeston on Sunday January 03, 2021 @02:25PM (#25624330)
Getting command line arguments is covered here:

https://ziglearn.org/chapter-2/#iterators

I don't think that going further into parsing is in scope. std.log is something that definitely needs to be covered. HTTP, I'm not sure about as it requires a lot of extra machinery outside of the standard library and these things aren't mature yet.