#refterm#windowsterminal#terminalemulator
[EPILEPSY WARNING] How fast should an unoptimized terminal run?
148K subscribers • 33 videos on Hallway
- Recommended by 7 people: 6 on Hacker News and 1 on Lobsters.
- A classic. People kept recommending it from 2021 to 2025.
- Presented by Casey Muratori, founder of Molly Rocket
- Linked in the descriptioncmuratori/refterm
- An opinion. It argues one side of a question engineers disagree on.
Intermediate. Assumes working knowledge.
192K views5 years ago7 recommendations
Systems programmingTools and practicePerformance and optimizationRenderingOperating systems
Casey Muratori demonstrates a simple, unoptimized terminal renderer that runs thousands of times faster than modern terminal emulators.
[EPILEPSY WARNING] At the end of this video, I demonstrate colored text on colored background tiles. The reference renderer displays this benchmark so quickly that the screen appears to flash colors violently. If you are photo-sensitive, you may want to stop watching the video before I run the colored text demo. [/EPILEPSY WARNING] Many modern terminals (like Windows Terminal, etc.) run extremely slowly - often hundreds or thousands of times slower than PC hardware allows. Yet for some reason, pointing this out leads to lots of strange excuses from developers, all of which are not true. In this video, I demonstrate how a very simple (~3000 line) codebase written in a few days - and literally never optimized at all - still runs by default at thousands of frames per second under real-world conditions, while supporting features that many modern terminals don't, like right-to-left strings of Arabic combining Unicode. The course mentioned in the video is Star Code Galaxy (starcodegalaxy.com). The code for this reference rasterizer is available under GPLv2 on GitHub (github.com/cmuratori/refterm)Why it's here
7 people recommend thisWhat people say. Highly recommended as a masterclass in software performance and a critique of modern bloated software development.
dmitriidon Hacker News • Recommends
On “Apple and Intel first to use TSMC 3nm”
dundariouson Hacker News • Recommends
On “Windows Terminal Source Code”
dundariouson Hacker News • Recommends
On “Microsoft: Extremely slow performance when processing virtual terminal sequences”
djoldmanon Hacker News • Recommends
On “When I tell the Windows Terminal team something is simple, I am "misguided"”
jiggawattson Hacker News • Recommends
On “Why modern software is slow”
surprisetalkon Hacker News • Recommends
On “Compressing Codebase Collocates”
jiggawattson Hacker News • Recommends
On “Ask HN: What makes Windows 11 perform much worse than Windows XP?”
jodrellblankon Hacker News • Recommends
On “Fast”
u/skeetoin r/C_Programming • Mentions
On “Looking for for resources to write a win32 terminal emulator”
u/ThePi7onin r/C_Programming • Mentions
On “terminal graphics on windows”
dr_zoidbergon Hacker News • Mentions
On “Rich: A Python library for rich text and formatting in the terminal”
cmaon Hacker News • Mentions
On “React Native for Windows is helping Settings improve more quickly”
starburston Hacker News • Mentions
On “When I tell the Windows Terminal team something is simple, I am "misguided"”
buchooon Hacker News • Mentions
On “Software Disenchantment (2018)”
prometheus76on Hacker News • Mentions
On “Available today: The Windows 11 2022 Update”