Writing a Wayland client from scratch in Zig

Lately I've been enjoying writing things from scratch. Writing a Wayland client from scratch has been the most frustrating and rewarding experience of my last two weeks. The number of new things that I've learned was more than worth all the frustrations. It took two weeks…

Using XRender with X11 to render antialiased fonts

The last week have been spent trying to figure out how to make XRender work with X11. It took a week because I have skill issues and there is pretty much no example out there on how to do this. There are plenty of examples of printing strings but to…

Patterns when programming down under

By "down under," I mean as close to the kernel as possible, before you get too excited, it's not really that close, but it's as close as system libraries. I finally got audio to work! Not perfectly, but still functional. Turns out I just…

Sure it's hard but at least give it a try first

If the Handmade Hero series has taught me anything in its first week, it is that it's very much possible to build directly using system libraries if you wanted to. Without having to use other libraries that make it easier for you to use. In the last couple…