New
The latest blog posts to take off on Hacker News. 6,945 posts.
Rsync replaced with openrsync on macOS Sequoia
On many Unix-based operating systems, rsync is a command line tool for transferring and synchronizing files on a computer, either between storage attached directly to the computer or between anothe…
Deleting multiplayer from the Unreal engine can save memory
Although the title of this article might suggest otherwise, I don’t dislike Unreal’s multiplayer features. As someone who has worked on two different multiplayer games in Unreal, I enjo…
Apple’s Darwin OS and XNU Kernel Deep Dive
A deep dive into Apple’s Darwin OS and XNU kernel architecture, tracing its evolution from Mach and BSD roots to powering macOS, iOS, and Apple Silicon. This post explores the hybrid kernel’s design, its adaptation to new hardware and security paradigms, and why XNU remains a uniquely resilient and scalable foundation…
Faster interpreters in Go: Catching up with C++
A novel technique for implementing dynamic language interpreters in Go, applied to the Vitess SQL evaluation engine
Database Protocols Are Underwhelming
If you’ve been in this trade for a while, you have probably seen dozens of debates on the merits and problems of SQL as a relational database query language. As an ORM maintainer, I have a few gripes with SQL, but overall it is workable, and anyway, it has so much inertia that there’s no point fantasizing about a…
Emulating an iPhone in QEMU
From black screens and boot issues to rendering quirks and PAC puzzles, here’s what we learned getting iOS to finally say hello.
An interactive-speed Linux computer made of only 3 8-pin chips
Dmitry.GR: Interactive-speed Linux on a tiny board you can easily build with only 3 8-pin chips
Deterministic simulation testing for async Rust
How S2 uses deterministic simulation testing for async Rust to find distributed-systems bugs before they reach production.
Porting Tailscale to Plan 9
Securely connect to anything on the internet with Tailscale. Built on WireGuard®️, Tailscale enables you to make finely configurable connections, secured end-to-end according to zero trust principles, between any resources on any infrastructure.
The state of binary compatibility on Linux and how to address it
Learn why Linux binary compatibility breaks when shipping software and what developers can do to fix real-world build and deployment issues.
Notes on the Pentium's microcode circuitry
Most people think of machine instructions as the fundamental steps that a computer performs. However, many processors have another layer of ...
Why I run FreeBSD for my home servers (2024)
Why FreeBSD instead of Linux for home servers? Exploring ZFS, jails, stability, and the reasons behind choosing FreeBSD for a home infrastructure.
Why is this site built with C
Most of what I have written features in the category of notes-to-self. Mostly on how to do A or B.
Convert Linux to Windows
Thesis: We should create a distro of Linux that runs Windows binaries by default via Wine.
Cross-Platform P2P Wi-Fi: How the EU Killed AWDL
This post investigates how we got from Wi-Fi Direct to AWDL to Wi-Fi Aware, what makes Wi-Fi Aware technically superior, and why this shift unlocks true cross-platform peer-to-peer connectivity for developers.
Building a Linux Container Runtime from Scratch
We're open sourcing our programmatic low-level container runtime, Styrolite
Optimizing Matrix Multiplication on RDNA3
Writing Super-Fast Matrix Multiplication with HIP, RGP, and ISA
When you deleted /lib on Linux while still connected via SSH (2022)
Let's first not talk about why this can happen, but deleting /lib, /usr/lib, or some other essential runtime files happens quite a lot (as you can see: here, here, here, and here). In this post, I will only discuss what happens when you delete /lib on Linux and how to recover from that. The easy
MySQL transactions per second vs. fsyncs per second (2020)
Just wondering how many transactions or writes per second MySQL can handle? While it depends on many factors, fundamentally, about as many transactions as MySQL can commit to disk per second. A modern disk can do ~1000 fsyncs per second , but MySQL will group multiple writes with each fsync. An okay rule-of-thumb…
I want a good parallel computer
The GPU in your computer is about 10 to 100 times more powerful than the CPU, depending on workload. For real-time graphics rendering and machine learning, you are enjoying that power, and doing those workloads on a CPU is not viable. Why aren’t we exploiting that power for other workloads? What prevents a GPU from…
Fedora 42 Beta
Discover Fedora 42 Beta: New AI-focused features for modern application development