Topics /

Systems & Performance

The most popular blog posts about systems & performance on Hacker News. 6,942 posts.

Any year
2522

How key-based cache expiration works

There are only two hard things in Computer Science: cache invalidation and naming things — Phil Karlton Doing cache invalidation by hand is an incredibly frustrating and error-prone process. You’re very likely to forget a spot and let stale data get served. That’s enough to turn…

2523

Memory Safe Context Switching

This document describes how Fil-C supports longjmp , setjmp , setcontext , getcontext , makecontext , and swapcontext in a totally memory-safe way. In particular, no misuse of those APIs in Fil-C can lead to stack corruption or any other violation of Fil-C's capability model.

2532

ECC RAM should be a human right

I am now a staunch advocate for ECC RAM, after the events of last week. You see, over the last several weeks my main desktop workstation has been misbehaving, with occasional freezing and crashing. After some diagnostics I began to suspect a faulty RAM module, and sure enough, upon performing a quick run of memtest86…

2533

Formal Methods: Just Good Engineering Practice? (2024)

Earlier this week, I did the keynote at TLA+ conf 2024 ( watch the video or check out the slides ). My message in the keynote was something I have believed to be true for a long time: formal methods are an important part of good software engineering practice. If you’re a software engineer, especially one working on…

2539

Zed Decoded: Async Rust

From the Zed Blog: In this episode of Zed Decoded, Thorsten and Antonio explore how we use async Rust in the Zed code base to ensure perfect cooperation with macOS to always maintain responsiveness and high-performance.

2548

Some Notes 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.

2549

Why We Love QUIC and HTTP/3

We're thrilled to be so invested in QUIC, a new transport protocol that is more responsive, secure, and flexible than what the internet uses today. Learn why, straight from our very own Jana Iyengar, one of the editors of the core document.