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…

Building a debugger?

You know how they say, "solve your own problems". When asked what should I build? Or something along those lines. Well I finally have a problem that I'd like to solve myself. I might also have some tools to be able to build it. Since I&…

Trying to grok rendering

It's humbling when programming with a lower-level language like Zig. This morning I spent an hour trying to figure out how to allocate a two-dimensional array. After a while I just gave up and decided to implement a two-dimensional array from a single dimension. After all, it'…