| Section | Title |
|---|---|
| 1 | Tour of std |
| 2 | Reading Files |
| 3 | Writing Files |
| 4 | Directories and Paths |
| 5 | Formatting and Printing |
| 6 | Parsing Numbers and Text |
| 7 | Time and Timers |
| 8 | Random Number Generation |
| 9 | Environment Variables |
| 10 | Process Management |
| 11 | Compression |
| 12 | JSON Support |
| 13 | HTTP Client |
| 14 | Networking APIs |
| 15 | Logging |
Tour of `std`std is Zig’s standard library.
Reading FilesReading a file means asking the operating system for bytes stored on disk.
Writing FilesWriting a file means sending bytes from your program to the operating system so they can be stored on disk.
Directories and PathsA file lives inside a directory.
Formatting and PrintingFormatting means turning values into text.
Parsing Numbers and TextParsing means turning text into data.
Time and TimersPrograms often need to work with time.
Random Number GenerationRandom numbers are used when a program needs variation.
Environment VariablesAn environment variable is a named value provided to a program by the operating system.
Process ManagementA process is a running program.
CompressionCompression means making data smaller.
JSON SupportJSON is a text format for storing structured data.
HTTP ClientAn HTTP client is code that sends a request to a web server and reads the response.
Networking APIsNetworking means communicating with another program through a network.
LoggingLogging means recording what a program is doing.