HackerTube.dev

Zig Roadmap 2023 - Andrew Kelley

Zig SHOWTIME · 76.6K views · 2022-04-16 · 43:20

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Andrew Kelley's roadmap talk on upcoming Zig compiler milestones, focused on compilation speed. It was given at a Zig community event in 2022.

On Hacker News

Shared as the place to see where the Zig project is heading, especially on compiler performance.

Recommended by 1 HN people across 1 months · HN mentions 2022–2023

Topics

Search by tags

What people said

rudedogg · 2023-05 · Recommendation

> 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: - [VIDEO]

Read the original HN comment ↗
kristoff_it · 2022-05 · Reference

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] [VIDEO] You can find links to learning materials in the "learn" section of the official website: [LINK] Last but not least, at the moment we compensate the lack of learning materials by having a community that it's very good at helping newcomers, so make sure you join one of the communities.

Read the original HN comment ↗
AndyKelley · 2022-04 · Reference

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 performance improvement. There are 5 more upcoming compiler milestones which will have a more significant impact on compilation speed. I talked about this in detail last weekend at the Zig meetup in Milan, Italy[1]. There are 3 main things needed before we can ship this new compiler to everyone. 1. bug fixes 2. improved compile errors 3. implement the remaining runtime safety checks If you're looking forward to giving it a spin, subscribe to [this issue]( [LINK] ) to be notified when it is landed in master branch. Edit: The talk recording about upcoming compiler milestones is uploaded now [1] [1]: [VIDEO]

Read the original HN comment ↗

Sources

Video by Zig SHOWTIME, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources