3 ms·
Yes, something very similar to constexpr. > Zig simplifies everything by designing in comptime up front, rather than gradually opening it up with ad hoc rules
by steveklabnik 6y ago
Yes, something very similar to constexpr.
> Zig simplifies everything by designing in comptime up front, rather than gradually opening it up with ad hoc rules over 10+ years.
I am not 100% sure that I agree with these characterizations, personally, but they're both valid strategies for sure.
- girvo 6y agoRegardless of the particular trade-offs the various languages under discussion are choosing to make, it’s exciting to me that more and more languages are adapting, exposing and using “compile time” systems