Topics /
Systems & Performance
The most popular blog posts about systems & performance on Hacker News. 6,942 posts.
1195725856 and other mysterious numbers
Last week was the final week for this half's performance review at Facebook, where we write summaries of work and impact we and our peers had over the last h...
Pat Gelsinger was wrong for Intel
By all accounts, Pat Gelsinger is affable, technically sharp, hard-working, and decent. Those who have worked for him praise him as a singularly good manager. In January 2021, when Gelsinger was abruptly named the CEO of Intel, this is more or less all I knew of him — and I found myself urgently needing to learn much…
The Fully Remote Attack Surface of the iPhone
Posted by Natalie Silvanovich, Project ZeroWhile there have been several rumours and reports of f...
How are Unix pipes implemented?
The implementation and history of an iconic Unix feature, with excerpts from the v6 Unix kernel source code, Author: Abhijit Menon-Sen
14,000x Speedup (2015)
In my job as a scientific software developer, I tend to write a lot of code. And most people who haven’t been through a Computer Science degree tend to think that CS is “just” about slinging code at the screen and then running it. I have a good working relationship with many of my colleagues and co-workers with other…
Intel Underestimates Error Bounds by 1.3 Quintillion
Intel’s manuals for their x86/x64 processor clearly state that the fsin instruction (calculating the trigonometric sine) has a maximum error, in round-to-nearest mode, of one unit in the last place…
Rust Performance Pitfalls
Overall, Rust is pretty good for performance. Write the most simple, naive stuff, and it will usually run within a factor of two from optimized C/C++ code, without any further performance work on the code. With some investment into optimizations, matching or exceeding C’s speed should be possible in most cases…
How Mailinator compresses its email stream by 90%
Given the title of this article, the first thing that should pop into your mind is probably - "well, use a compression algorithm - right?". ...
Why Decentralised Applications Don’t Work
This has been on my mind for a while, and with a couple of things lately stoking my ire (the NFT resurgence, and Signal integrating MobileCoin), I’ve finally pushed myself to put it into words.
The Future Is Niri
The worst "street-cred" I have is that I've been using tiling window managers for thirty-five percent of my life: five years with Sway and two...
100k TPS over a billion rows: the unreasonable effectiveness of SQLite
A blog mostly about Clojure programming
You can't copy code with memcpy
There's more to code than just instructions.
Building a Linux GPU Driver for the M4 Mac Mini in One Month
Personal website of Cody Ho
Getting started with bare-metal assembly
Seeing a program you wrote running directly on the bare metal is deeply satisfying to anyone who enjoys writing software. And it turns out that creating such a program from scratch is easier than it sounds. The hardest part is figuring out where to start. In this tutorial, I'll show you how to write, build and run the…
Brushing up on operating systems and C programming
If you were like me in college, you first learned about the C programming language in an introductory computer science course. Then, perhaps you took a really hard course in operating systems. Then, y
Bash on Ubuntu on Windows
At //Build 2016, Microsoft announced the ability to run native Bash and GNU/Linux command-line tools directly on the new Windows Subsystem for Linux
Let's Learn x86-64 Assembly (2020)
The way I was taught x86 assembly at the university had been completely outdated for many years by the time I had my first class. It was around 2008 or 2009, and 64-bit processors had already started becoming a thing even in my neck of the woods. Meanwhile, we were doing DOS, real-mode, memory segmentation and all the…
My 71 TiB ZFS NAS After 10 Years and Zero Drive Failures
My 4U 71 TiB ZFS NAS built with twenty-four 4 TB drives is over 10 years old and still going strong.
Systems ideas that sound good but almost never work
Some engineering patterns that sound good but almost never work as intended
Treble: A modular base for Android
News and insights on the Android platform, developer tools, and events.
Why the Windows Registry sucks technically (2010)
It’s quite popular to bash the Windows Registry in non-technical or lightly technical terms. I’ve just spent a couple of weeks reverse engineering the binary format completely for our h…