Making Things In C
I felt inspired to make this blog after watching Sean Barrett's video, 'Advice for Writing Small Programs in C'. In the video, STB talks about code reuse and developing a sort of personal library of reusable tools. He shows off a few small utility programs written in C that are very terse, thanks to use of his own personal library.
Feeling inspired, I wanted to try and start writing something that would benefit from a simple C utility - something that would require some common operations (I/O, sorting, string manipulation) and overall, give me an excuse to write my own common utility header.
I call it zyn.h. I know, very original. So far, it contains helpers for growable arrays of strings, file management, and sorting. I hope to introduce string templating, and possibly arena memory management, soon, as these will help neaten up my blog's static site generation code.