Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,292 posts.

Any topic
Any year
44282

On the Costs of Syscalls (2021)

It's well known that syscalls are expensive. And that software mitigations against CPU bugs (such as Meltdown) even have made them more expensive. But how expensive are they really? To begin to answer this question I wrote a small micro-benchmark in order to measure the minimal costs of a syscall …

44291

Does Go Have Subtyping?

I’ve been noodling on a static type system for my current hobby language. To try to keep the language as simple as possible, I’m trying to see if I can live without subtyping. Since most of my programming experience is in object-oriented languages, I’ve been learning more about languages that lack—or at least claim to…

44293

Wrong by Default

A few programming languages use a “defer” pattern for resource cleanup. This is a construct such as a defer keyword which schedules cleanup code to run at the end of the enclosing block (or function). This is available in Zig, Go and even in GCC C.

44294

Ten Year Futures

Looking forward 10 years, there are three primary technology that will change everything - cars, augmented reality and machine learning. But in the meantime, there ere huge changes around advertising, TV and retail that come from consumer behavior and industry dynamics, not tech, but will c

44299

Content isn't king

People in tech and media have been saying that ‘content is king’ for a long time - content and access to content was a strategic lever for technology. This isn’t really true anymore. Music and books don’t matter much to tech, and TV probably won’t matter much either.

44300

Law Enforcement Undermines Tor

Few weeks ago, the German political magazine Panorama and STRG_F reported that law enforcement agencies infiltrated the Tor network in order to expose criminals. The reporters had access to documents showing four successful deanonymizations. I was given the chance to review some documents. In this post, I am…