High Signal Podcasts Evidence ledger
Method
Browse
← Back to evidence

Evidence receipt / belief

Published · transcript-backed

Speaker unverified: belief

22 Mar 2025 Lex Fridman Podcast #461 – ThePrimeagen: Programming, AI, ADHD, Productivity, Addiction, and God

“I’ll say something. That’s the reason why I think Zig is so interesting comparatively to say C or Rust.”

— Speaker unverified

Source trail

Everything needed to verify it.

Speaker
Speaker unverified
Attribution
Not verified from this transcript
Claim type
belief
Recorded
22 Mar 2025
Publisher
Lex Fridman Podcast

Transcript context

…Yeah, but it’s still exciting. To me, the competition between Zig, Rust, and C++ is really interesting. Part of it’s for speed. Part of it’s how easy it is to write performant code. I’ll say something. That’s the reason why I think Zig is so interesting comparatively to say C or Rust. C is the ultimate language. It can do anything, have pre-process or macros. You can do quite a bit with it, but it’s also really difficult. So macros, you can do quite a bit with it, but it’s also really difficult and it’s also really simple and you can learn it. So it’s kind of its own unique beast. And when you get really good at C, C is a magical language and people are really great at it and people speak very highly of it. Rust is like this ultra safe language. What you can do in C, you just can’t even express in Rust. Rust is going to be the safe man that holds you at night, keeping you warm, right? It’s going to be just the greatest. But somewhere in the middle lies Zig. Zig has optionals. If you’re not familiar with optionals, that just simply means there’s a value here or there’s not, but you first have to check that before you can use it. So it prevents that whole null pointer dereferencing segfault problem. And that’s not available in C, just by default, you have to kind of build that thing in. It is the only option in Rust, but Zig says, “Hey, if you have a pointer, you can’t express it as null unless if you market that it can be null.” There’s ways around it, there’s other types of pointers and stuff like that that can do that. But for the most part, Zig will give you safety for the most part. So it’s like a little bit of safety, but more like C. So it kind of gives you everything you want in that region where you can express safe code and unsafe code. It’s very easy to write. It’s very pretty. Or at least the idea behind it is very pretty. The language itself is bland, but. Wow, there’s beauty in everything, Prime.…

Stored transcript either side of the excerpt. The highlighted words are the published quote; the surrounding text is unedited source, never generated.

Search evidence