News for hackers. Stuff that matters.
Re:Show HN by Karellen on Saturday December 03, 2022 @01:49PM (#33846137)
I believe malloc() was intended, as a number of old-school UNIX implementations of malloc() put the size of the allocation (and possibly other bookkeeping info?) "in front of" the pointer returned, in a similar way to how sds stores the size of its buffer.

There are no comments on this comment yet.