I stumbled upon this idea to implement a vector/dynamic array kind of structure called stretchy buffers. This being a C technique, it is not well suited to modern C