https://github.com/antirez/sds
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").
From the Readme:
```
Advantage #1: you can pass SDS strings to functions designed for C functions without accessing a struct member or calling a function
Advantage #2: accessing individual chars is straightforward.
Advantage #3: single allocation has better cache locality. Usually when you access a string created by a string library using a structure, you have two different allocations for the structure representing the string, and the actual buffer holding the string. Over the time the buffer is reallocated, and it is likely that it ends in a totally different part of memory compared to the structure itself. Since modern programs performances are often dominated by cache misses, SDS may perform better in many workloads.
```
>Believe it or not, full screen apps are a Windows thing.
Nope. It’s just that maximizing—single action to expand a window the whole screen minus the OS docks/taskbars—is present in every widely used OS except for Mac OS.
>they haven’t let go of the idea that all apps need to use the whole screen at all times
Not sure where you’re getting “at all times” from. Windows and Linux desktops all easily support having windows take up less than the whole screen. In fact, it’s easier than in Mac OS because of window snapping to sides and corners. It’s only that Mac OS makes it very clumsy to get the effect that maximizing has on every other OS.