News for hackers. Stuff that matters.
Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by hn_acc1 on Wednesday September 03, 2025 @01:44PM (#45118549)
There are pragmas you can give to a compiler to tell it to "expect that this code path is (almost) never followed". I.e. if you have an assert on nullptr, for example. You want it to assume the assert rarely gets triggered, and highly optimize instruction scheduling / memory access for the "not nullptr" case, but still assert (even if it's really, REALLY slow, relatively speaking) to handle the nullptr case.

There are no comments on this comment yet.