Software Unscripted cover image

Bootstrapping a Compiler via WASM with Loris Cro

Software Unscripted

CHAPTER

What Is Comp Time and Zig?

Zig has one unified system where basically the language can do a little bit more with comp time known things. There is no runtime type in information in Zig, but we can use some of the same constructs that other languages offer you through generics and macros. And that's what we use also to implement our multi platform support. We have a comp time switch a comp time statement that for example, selects the right OS support based on what platform you're trying to target.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner