Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 966 posts.

2026
311

Tree-sitter vs. Language Servers

I got asked a good question today: what is the difference between Tree-sitter and a language server ? I don’t understand how either of these tools work in depth, so I’m just going to explain from an observable , pragmatic point of view.

318

Faster asin() was hiding in plain sight

This one is going to be a quick one as there wasn't anything new discovered. In fact, I feel quite dumb. This is really a tale of " Do your research before acting and know what your goal is, " as you'll end up saving yourself a lot of time. Nobody likes throwing away work they've done either, and there could be…

323

What's the best programming language for coding agents?

This somewhat widely cited post (I keep seeing it cited, anyway) suggests that dynamic languages and/or languages that represent things more concisely are more token efficient. It seems to be cited enough that LLM search results agree. For example, when I searched for "dynamic vs static language token cost" (no…

324

Nested code fences in Markdown

Today, we will meet a spiky-haired nerd named Corey Dumm, who normally lives within Markdown code fences. We will get to know him a bit, smile with him when his fences hold and weep quietly when misfortune strikes.

330

Things Unix can do atomically (2010)

This is a catalog of things UNIX-like/POSIX-compliant operating systems can do atomically, making them useful as building blocks for thread-safe and multi-process-safe programs without mutexes or read/write locks. The list is by no means exhaustive and I expect it to be updated frequently for the foreseeable future.