Topics /
Systems & Performance
The most popular blog posts about systems & performance on Hacker News. 6,942 posts.
Kaspersky OS
At last – we’ve done it! I’ve anticipated this day for ages – the day when the first commercially available mass market hardware device based our own secure operating system landed on my desk.
Futurelock: A subtle risk in async Rust
This RFD describes futurelock : a type of deadlock where a resource owned by Future A is required for another Future B to proceed, while the Task responsible for both Futures is no longer polling A . Futurelock is a particularly subtle risk in writing asynchronous Rust.
{n} times faster than C
Owen's personal website and portfolio
We're migrating many of our servers from Linux to FreeBSD
More about this in the article I wrote to accompany my talk at EuroBSDCon 2024 . Please note: This article was (unexpectedly) quite popular and many...
A tale of an impossible bug: big.LITTLE and caching
When someone says multi-core, we unconsciously think SMP. That worked out well for us until recently when ARM announced big.LITTLE. ARM’s big.LITTLE architecture is the first mass produced AMP architecture and as we’ll see next, it raises the bar for how hard multi-core programing is.
What every programmer should know about time
This is a trade-off: you can't represent a leap second, and your time is guaranteed to go backwards. On the other hand, every day has exactly 86,400 seconds, and you don't need a table of all previous and future leap seconds in order to format Unix time as human-preferred hours-minutes-seconds.
Escaping Docker container using waitid() – CVE-2017-5123
Prisma Cloud is the most complete Cloud Native Application Protection Platform (CNAPP) for code to cloud security in any cloud, multicloud, and hybrid environment.
SQLite: Wal2 Mode
"Wal2" mode is very similar to "wal" mode. To change a database to wal2 mode, use the command:
IO Devices and Latency
Take an interactive journey through the history of IO devices, and learn how IO device latency affects performance.
Faster JavaScript Calls
Faster JavaScript calls by removing the arguments adaptor frame
Falsehoods programmers believe about Unix time
It's not quite the number of seconds since 1 January 1970.
Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
Performance comparison of counting and sorting word frequencies in various languages (Python, Go, C++, C, AWK, Forth, and Rust)
Last Week on My Mac: Losing confidence
What was the key to successfully learning to drive, ride a bike, or speak a foreign language? Confidence, and it’s every bit as important in computing, and in macOS.
The ASUS Tinker Board is a compelling upgrade from a Raspberry Pi 3 B+
I've had a long history playing around with Raspberry Pis and other Single Board Computers (SBCs); from building a cluster of Raspberry Pis to run Drupal, to building a distributed home temperature monitoring system with Raspberry Pis, I've spent a good deal of time testing the limits of an SBC, and also finding ways…
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
The Mystery of the Slow Downloads
A few months ago, a complaint started popping up from users downloading or updating our apps: “Geez, your downloads are really slow!”
Designing a SIMD Algorithm from Scratch
Another explainer on a fun, esoteric topic: optimizing code with SIMD (single instruction multiple data, also sometimes called vectorization ). Designing a good, fast, portable SIMD algorithm is not a simple matter and requires thinking a little bit like a circuit designer.
Making USB devices – end to end guide to your first gadget
Introduction to implementing USB devices. Minimal overview of hardware and software with an example with STM32 microcontroller. Also contains an index to very detailed guides for more information.
Distributed architecture concepts I learned when building a large payment system
When building a large scale, highly available and distributed system, what architecture concepts do you need to use, in practice? In this post, I am summarizing ones I have found essential to learn and apply when building the payments system that powers Uber. This is a system with a load
Using Rust to Scale Elixir for 11M Concurrent Users
Discover the latest news and app updates, stories, company insights, and plenty more about Discord, all in one place.
Improving Tailscale via Apple’s open source
Updates on innovations and the state of virtual private networks - globally, as well as Tailscale product and company news.
It’s time to leave the leap second in the past
The leap second concept was first introduced in 1972 by the International Earth Rotation and Reference Systems Service (IERS) in an attempt to periodically update Coordinated Universal Time (UTC) d…
Firefox fixes save gigabytes of memory on image-heavy pages
Lots of important MemShrink stuff has happened in the last 27 days: 22 bugs were fixed , and some of them were very important indeed.
Cloning a Laptop over NVMe TCP
Recently, I got a new laptop and had to set it up so I could start using it. But I wasn't really in the mood to go through the same old steps which I had explained in this post earlier . I was complaining about this to my colleague, and there came the suggestion of why not copy the entire disk to the new laptop…
Linux containers in 500 lines of code (2016)
I've used Linux containers directly and indirectly for years, but I wanted to become more familiar with them. So I wrote some code. This used to be 500 lines of code, I swear, but I've revised it some since publishing; I've ended up with about 70 lines more.