Topics /

Systems & Performance

The most popular blog posts about systems & performance on Hacker News. 555 posts.

2023
483

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…

487

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…

488

Writing a Debugger from Scratch: Stacks

(New to this series? Consider starting from part 1) At the end of the last post, DbgRs could finally set breakpoints. That was the last really critical feature needed for controlling execution of a program. Now that it can stop on an arbitrary function or code location, the next step is to find more information about…

491

NVMe SSD boot with the Raspberry Pi 5

In my video about the Raspberry Pi 5, I mentioned the new external PCIe port makes it possible to boot the standard Pi 5 model B directly off NVMe storage—an option which is much faster and more reliable than standard microSD storage (even with industrial-rated cards!). Enabling NVMe boot is pretty easy, you add a…

494

15k inserts/s with Rust and SQLite (2021)

There is this growing sentiment in tech that stacking more and more layers of complexity to reach the sacrosanct "infinite scalability" is not the way forward. First, because it rarely materializes: you need a lot of other things than fancy tech to reach millions of people. Second, because the tradeoffs

495

Real-time Ubuntu is now generally available

Real-time Ubuntu brings end-to-end security and reliability to the time-bound workloads of modern enterprises. With support for real-time compute, Canonical furthers its commitment to providing a best-in-class experience for open-source software consumption. 14 February 2023, London: Canonical today announced the…

501

Google's response to Reptar CPU vulnerability

Just as Vulnerability Research is an important area of focus at Google, so is Vulnerability Response to critical and complex vulnerabilities. Vulnerability Response at Google not only helps secure Google’s products and users, but in certain cases, it affects millions of devices across the Internet. In this post, we'll…

503

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…

504

Running SunOS 4 in QEMU (Sparc)

SunOS is a historical UNIX operating system widely used from the mid 80s into the early/mid 90s. Older versions of QEMU struggled to emulate the SPARC platform that SunOS ran on, but QEMU v7.2 supports SPARC well enough to install and run SunOS without any unusual workarounds.