←back to thread

Zig is hard but worth it

(ratfactor.com)
401 points signa11 | 1 comments | | HN request time: 0.324s | source
Show context
LispSporks22 ◴[] No.36152905[source]
> Only time will tell if comptime is the "greatest thing since sliced bread" or not.

Common Lisp user here. Am I missing anything that Zig has in the compile time department?

edit: Also, does the code in the comptime block have to be valid Zig?

replies(2): >>36153755 #>>36154118 #
1. kps ◴[] No.36153755[source]
It only has to be syntactically valid (parseable).