github pedropark99/zig-book v1.6.0

6 hours ago

Main objective

This release adds a big refactoring to the book. The main objective of this update is to bring the book up-to-date with the latest master version (0.16) of the Zig compiler. So, basically, with this release, all examples in the book and the ZigExamples should compile successfully with the latest (0.16) version of the Zig compiler.

The changes includes:

  • alter many of the code examples exposed across the book to fit the latest changes in the std.Io type;
  • alter many code examples that performs filesystem operations, since the File and Dir types were moved to std.Io module, which altered many function calls;
  • remove the "Important note for Windows users" section from the first chapter of the book (with the new IO API in Zig, this problem became irrelevant);
  • remove the "Thread pools" section from Chapter 16, mainly because the default/standard implementation of Thread pools offered by the Zig Standard Library was removed at 0.16.

Specific Zig compiler version used to compile the book: 0.16.0-dev.2676+4e2cec265

New Contributors

Full Changelog: v1.5.1...v1.6.0

Don't miss a new zig-book release

NewReleases is sending notifications on new releases.