HN Hall of Fame Weekly email

Terminal and shell performance

danluu.com Essays & writing Essays & articles Software engineering Candidate
Screenshot of danluu.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 4 calendar years, with breakout response in 2 of them.

submissions
4
submitters
4
observed span
2017–2022
peak thread · 204 comments
404 pts
latest 20+ return · 2022-08-08
66 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

iTerm2 author here. I'll spend some time looking into iTerm2's latency. I'm sure there are some low-hanging fruit here. But there have also been a handful of complaints that latency was too low—when you hit return at the shell prompt, the next frame drawn should include the next shell prompt, not the cursor on the next line before the new shell prompt has been read. So it's tricky to get right, especially considering how slow macOS's text drawing is. If…

As a keyboard player, I can tell you that anything over 10ms latency noticeably degrades the experience. 100ms of keypress-to-sound latency makes the instrument unplayable. Your ears will detect very small latencies; offset something just by 1-2ms, and you get an echo feel; 50ms will be off-beat. (Organ players have to deal with that kind of latency on their instrument[1], but it's a hard skill to learn, and limits the music that can be performed on the instrument. Say, following…

romwell·181-point thread·

The bad news is the defaults on modern platforms are often very bad for latency. The good news is that it is possible to achieve good latency on most modern systems with a lot of attention to detail. With good hardware and good software it is even possible to e.g. run console emulators with lower latency than they would have on original hardware connected to a CRT. I just wrote a three part series detailing a lot of ways to…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
653

reference only — not used in Hall rules or ranking

Total comments
354

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2017-07-18Terminal and shell performanceFirst breakout · Best threaddarwhy404204
2018-10-25Terminal latencylelf20
2019-03-20Terminal latency (2017)andyjpb181109
2022-08-08Terminal Latency (2017)Latest 20+ point returnmerwanedr6641