What is Zig's Comptime?

from blog Loris Cro's Personal Website, | ↗ original
Let's take a quick look at what compile-time execution looks like in Zig.If you've only experienced compile-time execution in the form of macros, generics or codegen, be ready to be surprised by what Zig can do.What is ZigZig is a new general-purpose programming language developed by Andrew Kelley. While still under heavy development, I think the language is already showing great promise. Zig aims to be a better C, similarly to how Rust can be understood as a...