News for hackers. Stuff that matters.
Re:Zig's Comptime Is Bonkers Good by lmm on Tuesday January 07, 2025 @08:49AM (#42622248)
> most of those points one only stumbles over after a few thousand lines of Zig and going really deep into the comptime features.

> nothing about it is surprising when working with it

I think there's a contradiction here - when you get deep into using this kind of feature in a complex way is precisely when you most need it to behave consistently, and tends to be where this kind of ad-hoc approach breaks down.

Re:Zig's Comptime Is Bonkers Good by throwawaymaths on Tuesday January 07, 2025 @09:04AM (#42622405)
if youve never gone deep into zig comptime... really nothing is surprising, except possibly when you can't do things and usually after a bit of thinking about it you understand why you can't.