Blogs / Personal blogs

Joe Mckay

joegm.github.io

Hi, I’m a CS student @strathclyde uni and hobbyist programmer. Here you can find my blog and also a list of my other platforms below.

Popular posts
1
Total points
104
HN comments
60
Rank
#20,762 personal

Visit joegm.github.io → On Hacker News Sep 2025 – Sep 2025

Systems & Performance 1Software Engineering 1

1

Indices, not Pointers

There is a pattern I’ve learned while using Zig which I’ve never seen used in any other language. It’s an extremely simple trick which - when applied to a data structure - reduces memory usage, reduces memory allocations, speeds up accesses, makes freeing instantaneous, and generally makes everything much, much…