I finally understand `comptime` in Zig a little bit
Understanding the Zig comptime just a little bit better.…
Understanding the Zig comptime just a little bit better.…
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…
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…
It's looks like such a simple thing and I've been taking it for granted. Simply because how it just seems to work anywhere and everywhere. It's like being in awe of a tomato. Until you try to do it yourself. From the ground up,…
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&…
Nearly, or I'm in the process of building one I would say. You can find the repository here. The codebase is kind of a first draft and will be subject to quite a few changes over the next few weeks. It all started out by separating the platform…
If you'd like to see the code, you can find it here. Handmade Hero is such a treasure trove for programming. I'm only on day 20, but I've already learned and tried out so many new concepts, things I would never be aware of…
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'…