Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Zig comptime: does anything come close?
(opens in new tab)
(renato.athaydes.com)
3 points
bw86
1y ago
2 comments
Save
Share
2 comments
2 comments · 2 top-level
top
newest
oldest
grajaganDev
1y ago
Using the comptime keyword runs arbitrary code and functions at compilation-time.
Is this somewhat comparable to C++ macros?
whatnotests2
1y ago
Ruby metaprogramming, perhaps.
j
/
k
navigate · click thread line to collapse