Dark Hacker News
new
|
best
|
ask
|
show
|
jobs
Zig comptime: does anything come close?
(renato.athaydes.com)
3 points
by
bw86
1 year ago
| 2 comments
Zig comptime: does anything come close? | Dark Hacker News
grajaganDev
1 year ago
|
next
[−]
Using the comptime keyword runs arbitrary code and functions at compilation-time.
Is this somewhat comparable to C++ macros?
whatnotests2
1 year ago
|
next
[−]
Ruby metaprogramming, perhaps.