3 ms·
The whole comptime stuff is very un-C.
by nine_k 6y ago
The whole comptime stuff is very un-C.
- 59nadir 6y agoBut a strict improvement on the preprocessor madness that you have to get into with C. Having `static if`-like behavior is much preferable to `#ifdef` and the like and other things falling out of that system is just a bonus. It's tempting to view `comptime` as additional complexity, but the truth is that it replaces a much more complicated and hard-to-work-with system. That one is just one that people have gotten used to over decades.