Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 6,947 posts.
Saving a Third of Our Memory by Re-Ordering Go Struct Fields (2020)
Simply changing the order of some uint variables we managed to drop our memory usage significantly
WASI 0.2.0 and Why It Matters
With the release of WASI Preview 2, we take a step back and look at why it matters for wasmCloud and the WebAssembly ecosystem.
A Usable C++ Dialect That Is Safe Against Memory Corruption
Quote: we DID get a perfectly usable C++ dialect which is also 100% safe against memory corruption and against memory leaks. Another Quote: we can (and often...
ARM64EC: Building Native and Interoperable Apps for Windows 11 on ARM
Today, we’re announcing ARM64EC (“Emulation Compatible”), a new way to build apps for Windows 11 on ARM. With the latest Visual Studio tools in preview and the Windows 11 Insider SDK, you'll be able to take advantage of ARM64EC to incrementally
OpenVMS 9.2 for x86: Auto boot, licenses, PAKs, networking and SSH
Published: 15-04-2023 22:30 | Author: Remy van Elst | Text only version of this article
Writing Linux Modules in Ada (2016)
In the following series of blog posts I will document my attempts to write Linux modules using the Ada language. In part 1, I will demonstrate how to write in Ada and build a simple "hello world" Linux kernel module. Additionally, I will introduce a basic customized Ada runtime to support our "hello world" module…
Landing a new syscall, part 1: What is futex?
A deep dive into the futex system call and how it is used to process synchronization functions.
The historical significance of DEC and the PDP-7, -8, -11 and VAX
Earlier today, I saw a link on the ClassicCmp.org mailing list to a project to re-implement the DEC VAX CPU on an FPGA. Its entitled First new vax in ...30 years? Someone posted it on Hackernews . One of the comments said, roughly, that they didnt see the significance and…
Car alarms and smoke alarms: tradeoff between sensitivity and specificity (2012)
Wouldn’t you like to live in a world where your monitoring systems only alerted when things were actually broken? And wouldn’t it be great if, in that world, your alerts would always fi…
I've had bad luck with transparent hugepages on my Linux machines
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Qualcomm Linux 2.0
Unified code base. Upstream first. No fork. SoC agnostic. Learn how you can build with Qualcomm Linux 2.0
Linuxulator on FreeBSD Feels Like Magic
Most linux software just work on FreeBSD
An extensive ZFS setup on MacOS
DISCLAIMER: If you are in no way familiar or comfortable with the Terminal, this is not for you.
History of ZFS Part 2: Exploding in Popularity
Discover how ZFS rapidly gained popularity from its inception at Sun, leading to the rise of OpenZFS. Learn about its journey in the second part of our series.
Optimizing Ruby Path Methods
Back in November last year, I started a new job at Intercom, and one of the first projects I got to work on was improving the Intercom monolith CI with some of my new colleagues.
FreeBSD 9.1 Release Announcement
The FreeBSD Release Engineering Team is pleased to announce the availability of FreeBSD 9.1-RELEASE. This is the second release from the stable/9 branch, which improves on the stability of FreeBSD 9.0 and introduces some new features. Some of the highlights:
Why code that never goes wrong can still be wrong
The three levels of software, a framework by Jimmy Koppel: runtime, code, and logic, and why code that never fails can still be wrong.
The Polyglot NixOS
Recently a colleague mentioned building NixOS images that run unchanged on multiple architectures. Given the past adventures on this blog with systemd-repart and cross-compiling NixOS, I decide to give this a go.
C vs. C#: racing VLC's Gaussian blur
A real VLC video filter, ported line by line to C# and raced against the original C inside VLC 4, then optimized on both sides, with byte-identical output throughout.
A Ceph war story
It all started with the big bang! We nearly lost 33 of 36 disks on a Proxmox / Ceph Cluster; this is the story of how we recovered them.
Effectively Managing Memory at Gmail Scale
While JavaScript employs garbage collection for automatic memory management, it is not a substitute for effective memory management in applications. JavaScript applications suffer from the same memory related problems that native applications do, such as memory leaks and bloat, yet they must also deal with garbage…
Staying Out of TTL Hell
Cache strategies that don't trade-off correctness for speed
Building a web server in aarch64 assembly to give my life (a lack of) meaning
a static http server in aarch64 assembly
Improving on std:count_if()'s auto-vectorization
To start off, we can leverage the STL for this calculation. std::count_if() more precisely:
How I reverse engineered a commercial spatial audio effect
Measuring a commercial spatial audio processor, extracting its stereo impulse responses, and rebuilding the effect as a convolution filter on Linux.
Arena-based parsers
The code is a bit "experimental" but it's available in the arena-fixes branch (make sure to enable --features=development if you run it from a Git repo).