Top posts

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

Any topic
Any year
46381

Designing Good Interfaces

Technician: Welcome to Custom Lube, how can I help you? Me: I need an oil change. Technician: OK, you can hop on out. Where is the oil you want to use? Me: I didn’t bring any oil. I expected you would supply that. Technician: That’s a common misunderstanding. At Custom Lube, we don’t supply oil or anything else. We…

46384

Why getting traction is so hard these days

The end of the cycle One of the best essays written last year was Elad Gil’s End of Cycle? – referencing our most recent 2007-2017 run on mobile and web software, and the implications for investing, startups, and entrepreneurs. Although he doesn’t directly talk about it, the end of a tech cycle has major implications…

46393

When can glibc be built with Clang?

Updated in 2026: glibc 2.43 added experimental support for building with Clang. In September 2021, I wrote "So, dear glibc, will you be happy with my sending Clang patches?" in Build glibc with LLD 13. We have come to a turning point. In Linux Plumbers Conference 2021, at the glibc Birds of a Feather session, I asked…

46401

Closures as Win32 Window Procedures

Back in 2017 I wrote about a technique for creating closures in C using JIT-compiled wrapper. It’s neat, though rarely necessary in real programs, so I don’t think about it often. I applied it to qsort , which sadly accepts no context pointer. More practical would be working around insufficient custom allocator…