Zig Roadmap 2023 - Andrew Kelley
Why Hacker News recommends it
Shared as the place to see where the Zig project is heading, especially on compiler performance.
What it is
Andrew Kelley's roadmap talk on upcoming Zig compiler milestones, focused on compilation speed. It was given at a Zig community event in 2022.
Recommended by 1 HN commenters across 1 different months, 2022 to 2023.
What Hacker News said
Recommends rudedogg · 2023-05 · on “Zig now has built-in HTTP server and client in std”
> To write a fast compiler, it has to be fast from the start. The focus on compilation speed is one of the reasons I'm so interested in Zig. The compiler uses an interesting data-oriented design to represent the AST nodes, etc. You can read about it here: - [LINK] - [LINK] The creator of Zig also has a talk from Handmade Seattle talking about some of the performance gains they've had using these techniques: - [LINK] And a talk "Zig 2023 Roadmap" that is basically all about compilation speed: - [this video]
Cites AndyKelley · 2022-04 · on “Zig self hosted compiler is now capable of building itself”
Hello HN! Here is some context to decorate this announcement: The Zig self-hosted compiler codebase consists of 197,549 lines of code. There are several different backends, each at varying levels of completion. Here is how many behavior tests are passing: LLVM: 1101/1138 (97%) WASM: 919/1138 (81%) C: 740/1138 (65%) x86_64: 725/1138 (64%) arm: 490/1138 (43%) aarch64: 411/1138 (36%) As you might guess, the one that this milestone is celebrating is the LLVM backend, which is now able to compile the compiler itself, despite 3% of the behavior tests not yet passing. The new compiler codebase, which is written in Zig instead of C++, uses significantly less memory, and represents a modest performan
Cites kristoff_it · 2022-05 · on “How Uber Uses Zig”
The worst part is that it's not done yet :^) This means that you will not find super complete introductory materials about every aspect of programming with Zig. The language reference is very good but for example the standard library doesn't have docs yet as we're still working on the autodoc tool. On the other hand reading the stdlib source code is very easy in good part thanks to the reasons you already mentioned in your post. [LINK] You might also be interested in reading about the project to see if you like where we're going (aside from technical details of the language). [LINK] [LINK] [LINK] [this video] You can find links to learning materials in the "learn" section of the official website: