News for hackers. Stuff that matters.
Re:Arena Allocator Tips and Tricks by variadix on Thursday September 28, 2023 @09:40PM (#37698305)
Turns out there is! __builtin_launder seems mostly equivalent to what the author proposes but probably more reliable. Facebook’s folly library appears to use both, preferring the builtin.

There are no comments on this comment yet.