New
The latest blog posts to take off on Hacker News. 4,388 posts.
Finding the “second bug” in glibc’s condition variable
I continue to have no time for big programming projects, so here is a short blog post. Two years ago I looked into a bug in the glibc implementation of condition variables: Sometimes pthread_cond_s…
NaN Boxing (2020)
Are you the owner of this domain? Visit Porkbun to start building your website. We may already have a design waiting for you.
35M Hot Dogs: Benchmarking Caddy vs. Nginx
Have you ever wondered about the performance delta between Caddy and Nginx? Wonder no more.
Escaping strings faster with AVX-512
When programming, we often have to 'escape' strings. A standard way to do it is to insert the backslash character (\) before some characters such as the double quote. For example, the string my title is "La vie" becomes my title is \"La vie\" A simple routine in C++ to escape a string might look … Continue reading…
What makes a senior engineer? Writing software vs. building systems
Junior Engineers care about writing Software. They value code quality, employ best practices, try to adopt cutting-edge technologies. They invest a lo
Serving a high-performance blog solely from memory, using Rust
Xe Iaso's personal website.
A byte string library for Rust
bstr is a byte string library for Rust and its 1.0 version has just been released ! It provides string oriented operations on arbitrary sequences of bytes, but is most useful when those bytes are UTF-8. In other words, it provides a string type that is UTF-8 by convention , where as Rust’s built-in string types are…
The Sheer Terror of PAM
Xe Iaso's personal website.
macOS now scans for malware whenever it gets a chance
How macOS now has anti-malware scanners checking your Mac automatically many times each day for the most frequent malware.
Dear Linux, Privileged Ports Must Die
Privileged ports were a security feature in the days of dumb terminals, in the age of the World Wide Web, they are a security vulnerability.
Understanding Google’s File System (2020)
These paper reviews can be delivered weekly to your inbox , or you can subscribe to the Atom feed . As always, feel free to reach out on Twitter with feedback or suggestions!
The state of Flow-based Programming
Where Flow-based Programming stands after 50 years since its introduction. What problems it solves today. And what problems it can solve tomorrow for broader Software Engineering industry
Finally fixed my PC’s persistent graphics and audio stutters
I experienced intermittent stuttering when my PC ran Linux and Windows. A mix of hardware, firmware, and driver issues created a difficult to diagnose problem.
What's the big deal about embedded key-value databases?
What's the big deal about key-value databases like FoundationDB and RocksDB?
Clip control on the Apple GPU
After a year in development, the open source “Asahi” driver for the Apple GPU is running real games. There’s more to do, but Neverball is already playable (and a lot of fun!).
The GPU Banana Stand
Freshly whipped WebGPU, with ice cream
Turning SQLite into a Distributed Database
mvSQLite is the open-source , SQLite-compatible distributed database. We decoupled SQLite's storage layer onto FoundationDB to offer massive yet "bottomless" scalability, point-in-time reads, and the strictest level of consistency.
Faster zlib/DEFLATE decompression on the Apple M1 (and x86)
DEFLATE is a relatively slow compression algorithm from 1991, which (along with its wrapper format, zlib) is incredibly widely used, for example in the PNG, Zip and Gzip file formats and the HTTP, …
Shared Libraries as Executables
Typically you either have an executable or a shared library, but can you have an executable shared library too?
Resolving an unusual WiFi issue
Late last year, I started experiencing some unusual intermittent connection issues on my Desktop. In general, I had a stable connection with average latency; however, at (seemingly) random times throughout the week, I would start experiencing sudden 2000ms+ latency spikes every couple of seconds.
Why is the OpenBSD documentation so good?
In this article, I'm trying to understand what makes the OpenBSD documentation that good.
Running Rust on Logic Gates
A journey in building an ARM CPU from scratch in a digital circuit simulator, and running Rust on it to interpret Scheme and serve Web pages.
Using the same Arch Linux installation for a decade
As of today, I've been using the same Arch Linux installation for ten years on my main computer. I don't have much to say, but I'm writing this because my experience doesn't match the common notion that Arch Linux is unstable. 1