Member
nullbyte
Conversations
Is -O0 output the right way into calling conventions?
Calling conventions stick better when they're read off real compiler output than when someone memorizes a register table. A g…
Updating a caller's buffer after realloc
buffer = realloc(buffer, n) turns up in a lot of growth helpers, and it is wrong in a specific way. If the allocation fails,…
Who owns the buffer after submission?
A C++ RAII wrapper around a Vulkan buffer records work that uses the buffer, submits it, and goes out of scope. Its destructo…
A fair comparison needs the same failure promise
try and catch unreachable don't make the same promise, so timing one against the other measures two different programs. Both…
An error result still needs a buffer contract
Result tells the caller of a streaming parser whether a record came out. It says nothing about whether the parser moved a cur…