Best of 2023

The blog posts Hacker News loved most in 2023. 391 posts.

Systems & Performance
333

Storing Data in Control Flow

A decision that arises over and over when designing concurrent programs is whether to represent program state in control flow or as data. This post is about what that decision means and how to approach it. Done well, taking program state stored in data and storing it instead in control flow can make programs much…

343

Queues should be empty

I’ve been writing a pubsub listener for work recently and had this silly “shower thought”: the ideal queue should be empty. Why? If the queue is not empty, it means that whatever job is consuming from the queue is not keeping up with messages coming into it. Ok, then if queues are supposed to be empty, then what are…

345

Bfs 3.0: The Fastest Find Yet

bfs is a tool I wrote to do b readth- f irst s earch through a filesystem. It started out simply enough, but over the years it’s grown to include almost every feature from every other find implementation I could find, plus many of its own innovations. The new 3.0 release series includes the biggest new feature so far…

348

Link-Time Optimisation (LTO)

I recently started exploring link-time optimisation (LTO), which I used to think was just a single boolean choice in the compilation and linking workflow, and perhaps it was like that a while ago… I’ve learned that these days, there are many different dimensions of LTO across compilers and linkers today and more…

356

Exploring Windows XP on macOS ARM64

Windows XP I have a lot of fond memories of Windows XP and after feeling nostalgic, I was happy to find out that it’s relatively easy to take it for a spin on an ARM64 Mac using QEMU. I decided to install XP and an assortment of classic software one final time, taking screenshots of the whole process. This included…