From slow to SIMD: A Go optimization story
So, there's this function. It's called a lot. More importantly, all those calls are on the critical path of a key user interaction. Let's talk about making it fast.
The latest blog posts to take off on Hacker News. 6,947 posts.
So, there's this function. It's called a lot. More importantly, all those calls are on the critical path of a key user interaction. Let's talk about making it fast.
A reader at respected airline industry site Leeham News offered a comment that suggests they have access to Boeing’s internal quality control systems, and shares details of what they saw regarding the Boeing 737 MAX 9 flown by Alaska Airlines that had a door plug detach inflight, causing rapid decompression of the…
What is bufferbloat, why is it bad, and what to do about it
Creating standalone Linux applications with lone.
A few months ago, I got given a laptop with a very interesting condition. The BIOS setup menu was supposedly inaccessible, and nothing apart from the default boot option works. Time to investigate to see what is actually happening and what we can do about it.
Ceph is an open source distributed storage system designed to evolve with data.
sourcehut is a network of useful open source tools for software project maintainers and collaborators, including git repos, bug tracking, continuous integration, and mailing lists.
When a service fails to start up enough times in a row, systemd gives up on it. On servers, this isn’t what I want — in general it’s helpful for automated recovery if daemons are restarted indefinitely. As long as you don’t have circular dependencies between services, all your services will eventually come up after…
A tour on how DOS was able to use most of the 1 MB address space of the 8086
Apple uses Cassandra and FoundationDB for CloudKit, their cloud backend service. We take a look into how exactly each is used within their cloud and the problems they've solved.
I’ve spent quite a lot of time messing with x86_64 page tables, understanding address translation is not easy and when I started learning about it I felt like a lot of the material out there on how it works was hard for me to wrap my head around. So in this blog post I am going to attempt to provide a kind of “what I…
My day job is in browsers and cryptography , not compilers, yet I often find that I need to spend more of my time working through the semantics of programming languages than using them. This post discusses a thorny cross-language issue between C, C++, and Rust. In short:
UPDATE: This blog post has been updated based on feedback from Reddit and Hacker News. HN discussion: https://news.ycombinator.com/item?id...
We revise some fundamental background and highlight an important concern behind Java 21 virtual threads: deadlocks might be unpredictable
[English]These are currently difficult times for customers and resellers of VMware products who want to reorder, extend licenses or simply activate product licenses. After the Broadcom takeover…
Apple’s M2 chip uses a newer version of the CPU core instruction set. This increases its capability, thus how well it will cope with future apps and macOS, compared with the M1.
"Wal2" mode is very similar to "wal" mode. To change a database to wal2 mode, use the command:
From Hypervisor APIs in OS X 10.10 Yosemite in 2014, through early VirtIO kernel extensions in Mojave in 2018, and Arm hypervisor support in Big Sur.
Guide to PostgreSQL Replication and CDC - Navigate the complexities of logical replication in PostgreSQL.
This is the Part 2 of a series. Feel free to read the prequel for more context: Building the fastest Lua interpreter automatically Building a good VM for a dynamic language takes a ton of engineerin
Linux's epoll API solved the C10K problem, enabling fast and afforable Internet services.
A Rust object that survives program restart thanks to Rust allocators, systemd's file descriptor store, and syscall memfd_create.
I was explaining on Hacker News why Windows fell behind Linux in terms of operating system kernel performance and innovation. And out of nowhere an anonymous...
This post is not going to be about what’s wrong with individual databases. There are so many databases and so many individual API issues, operational problems, and arbitrary limitations that it wou…
We estimate the magnitude of speed improvement for optimization solvers and computer hardware in the 35 years from 1989 to 2024.
What does ext4 look like?
Welcome back to FOSS Fridays! This week, I’m covering a real pickle. I’m acutely aware of the flames this blog post will inspire, but I feel it is important to write nevertheless. I volunteer my ti…
M3 chips widen the gap between Pro and Max variants. They also change relative performance between P and E cores to make M3 CPUs more versatile.