Things Zig comptime won't do(matklad.github.io)
441 points by JadedBlueEyes | 180 comments
A blog post by matklad explaining the deliberate restrictions of Zig's comptime feature, such as no host leakage, and how it stays expressive despite them.
5 stories tagged metaprogramming, newest first.
441 points by JadedBlueEyes | 180 comments
A blog post by matklad explaining the deliberate restrictions of Zig's comptime feature, such as no host leakage, and how it stays expressive despite them.
440 points by klaussilveira | 167 comments
The crates.io page for crabtime, a Rust procedural macro that evaluates inline Rust code at compile time to generate code, similar to Zig's comptime.
414 points by todsacerdoti | 218 comments
Blog post by Scott Redig explaining Zig's comptime metaprogramming feature through six different conceptual views, with examples.
375 points by rbanffy | 81 comments
Blog post explaining how Python source code encoding declarations (PEP 263) can be abused to implement a preprocessor that transforms code before execution.
360 points by bondant | 200 comments
GitHub repository for datatype99, a C99 library providing algebraic data types and pattern matching via preprocessor metaprogramming.