News for hackers. Stuff that matters.
Re:Zig: Build System Reworked by kristoff_it on Saturday May 30, 2026 @12:16PM (#48337849)
A vtable indirection is essentially free when you're going to perform a syscall. What matters is that the buffer is above the vtable (which is already the case for the current implementation) so that you don't pay for the indirection when hitting the buffer.
Re:Zig: Build System Reworked by chaz72 on Saturday May 30, 2026 @04:43PM (#48340432)
Apples and oranges, yeah. I should have spelled that out more, thanks.
Re:Zig: Build System Reworked by rastignack on Sunday May 31, 2026 @05:18AM (#48344207)
And if you write to a bytes buffer?