News for hackers. Stuff that matters.
Re:Show HN by masklinn on Saturday December 03, 2022 @09:47AM (#33843842)
> The trick is the size is hidden before the adress of the buffer.("Learn this one simple trick that will change your life for ever").

This has drawbacks:

1. you can't convert an existing buffer to an sds buffer

2. you can't slice into a buffer, because the metadata is part of the string's buffer (even if it's before the pointer)

There are no comments on this comment yet.