The Sourcegraph Podcast cover image

Taking the warts off C, with Andrew Kelley, creator of the Zig Software Foundation

The Sourcegraph Podcast

00:00

The Difference Between Zing and Zing Compilation

In zig if the condition of an if statement is compiled, time known. And in this case, it will not evaluate the the dead branch. So you can put compile errors in the dead branch of an if statements. They won't be revealed because the branch is dead. If windows ther windows code, else, pasex code. That's and that's it. Generics just fell into my lap. I feel like the language design is just like, well, let's just fix the worths of s Ten. A lot of it is just like fixing paper cuts and foot guns in n c - exactly.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app