Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    [EPILEPSY WARNING] How fast should an unoptimized terminal run?

    Molly Rocket

    6 HN recommenders · recommended in 16 months, 2021–2026

    YouTube

    51:04 · 193K views · Jul 3, 2021

    Casey Muratori shows how fast a terminal renderer can run, building a simple reference renderer that handles Unicode and colored text far quicker than Windows Terminal. He argues that common excuses for slow terminals do not hold up.

    It is the canonical reference for the claim that modern software wastes hardware, and the proof-of-concept behind the Windows Terminal performance debate.

    Software Engineering & LanguagesSoftware performance & optimizationTesting, debugging & developer tools
    1. 18:41
      Refterm Lecture Part 1 - Philosophies of OptimizationMolly Rocket93K views • 5 years ago
    2. 29:51
      Refterm v2 - Resource usage, binary splat, glyph sizing, and moreMolly Rocket68K views • 5 years ago
    3. 38:20
      Twitter and Visual Studio RantMolly Rocket158K views • 6 years ago
    4. 1:02:17
      'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]ACCU Conference34K views • 10 years ago
    5. 1:01:09
      Plenary: Performance Matters - Emery Berger - CppCon 2020CppCon33K views • 6 years ago
    6. 20:00
      Twenty Minutes of Reasons to Use the RemedyBG DebuggerMolly Rocket70K views • 4 years ago
    7. 2:27:34
      Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025Better Software Conference929K views • 1 year ago
    8. 2:50:14
      Simple Code, High PerformanceMolly Rocket464K views • 5 years ago
    9. 22:41
      "Clean" Code, Horrible PerformanceMolly Rocket1.2M views • 3 years ago
    10. 59:11
      How to Speed up a Python Program 114,000 times.InfoQ171K views • 13 years ago
    11. 42:15
      "Performance Matters" by Emery BergerStrange Loop Conference502K views • 7 years ago
    12. 1:48:55
      The Thirty Million Line ProblemMolly Rocket326K views • 8 years ago
    13. 40:34
      Charlie Marsh: uv: An Extremely Fast Python Package ManagerJane Street108K views • 2 years ago
    14. 48:04
      "NTFS really isn't that bad" - Robert Collins (LCA 2020)linux.conf.au161K views • 6 years ago
    15. 19:25
      New computers don't speed up old codeMatthias random stuff187K views • 1 year ago
    16. 0:23
      CygnusEd Professional in Action on an Amiga 2000Casey Muratori11K views • 12 years ago
    17. 13:39
      How is this Website so fast!?Wes Bos2.4M views • 2 years ago
    18. 18:20
      FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)Kaze Emanuar3.2M views • 4 years ago
    19. 1:04:48
      "Performance (Really) Matters" with Emery BergerAssociation for Computing Machinery (ACM)7.1K views • 6 years ago
    20. 1:21:39
      Making R run Fast - Jan VitekJohn O'Neill865 views • 10 years ago

    20 comments from Hacker News

    1. @dundariousMay 2022· in “Windows Terminal Source Code”

      Worth watching Casey Muratori's series of videos on terminals, and how to implement them, where he often makes specific comparison to Windows Terminal. He has some specific criticisms that are easy to disagree with, but the vast majority are well warranted. His broader series of videos on the topic are even worthwhile from a purely "software engineering education" standpoint. this video I feel a bit bad about posting comments about it relatively frequently on HN, but it's just so very very good, and snark aside, his perspective is extremely valuable.

      Strongly recommendsView on HN
    2. @dmitriidJul 2021· in “Apple and Intel first to use TSMC 3nm”

      As luck would have it, here's the continuation to Windows Terminal. Casey Muratori made a reference terminal renderer: [LINK] This uses all the constraints that the Windows terminal team cited as excuses: it uses Windows subsystems etc. One person, 3k lines of code, it runs 100x the speed of Windows terminal. See the epic demo (and stay till the end for color output): this video

      Strongly recommendsView on HN
    3. @jodrellblankJul 2025· in “Fast”

      It's well known, but this video[1] is a proof of concept demonstration from 4 years ago, Casey Muratori called out Microsoft's new Windows Terminal for slow performance and people argued that it wasn't possible, practical, or maintainable to make a faster terminal and that his claims of "thousands of frames per second" were hyperbolic, and one person said it would be a "PHD level research project". In response, Casey spent <1 week making RefTerm, a skeleton proto-terminal with the same constraints Microsoft people had - using Windows APIs for things, using DirectDraw with GPU rendering, handling terminal escape codes, colours, blinking, custom fonts, missing font character fallback, line wrap, scrollback, Unicode and Right-to-Left Arabic combining characters, etc. RefTerm had 10x faster throughput than Windows Terminal and ran at 6-7000 frames per second. It was single-threaded, not profiled, not tuned, no advanced algorithms, no-cheating by sending some data to /dev/null, all it had to speed it up was simple code without tons of abstractions and a Least Recently Used (LRU) glyph cache to avoid re-rendering common characters, written the first way that he thought of. Around that time he did a video series on that YouTube channel about optimization and arguing that even talking about 'optimization' was too hopeful, we should be talking about 'not-pessimization', that most software is not slow because it has unavoidable complexity and abstractions needed to help maintenance, it

      RecommendsView on HN
    4. @jiggawattsMay 2024· in “Ask HN: What makes Windows 11 perform much worse than Windows XP?”

      Casey Muratori has some great YouTube videos (a.k.a.: rants) about the end-user visible performance degradation over the last two decades despite computers becoming 10-100x faster by various metrics. E.g.: Visual Studio Rant [LINK] How fast should an unoptimized terminal run? this video The root cause is that Microsoft simply doesn't have performance as a priority. It's not a KPI for (almost) anyone, certainly nobody in the desktop teams. Upper management doesn't prioritize input latency over telemetry or advertising "features". It's that simple. There's no pressure, no rejection of slow code, no metrics, no pride in good engineering. If it barely functions, it's good enough to ship.[1] Microsoft employees will occasionally comment to say otherwise, but their statements are contrary to easily verifiable facts, such as massive performance degradations in trivial tools such as the new Notepad, the new Terminal, and the Calculator app. The actual specific technical reasons include: - Executables used to be loaded from disk one 4KB page at a time. Execution could start as soon as the first 4KB block was loaded. For a long time now, executables are digitally signed using a hash like SHA1 or SHA256, which means that large executables can't actually start running any code until the entire file is loaded. The obvious fix -- that didn't occur to anyone at Microsoft -- is to use a Merkle tree hash instead of a linear, single-threaded, whole-file hash like SHA256. - Similarly, anti-malware

      RecommendsView on HN
    5. @jiggawattsSep 2022· in “Why modern software is slow”

      Oh, this is nothing . Windows force-updated my Notepad.exe to the new modern UI version. It is very visibly laggy for basic actions such as opening menus or scrolling through text. You have to be spectacularly bad at programming to make something so basic so slow in 2022 on a very high-end gaming computer. Not just bad, but utterly oblivious. Casey Muratori excoriated the Windows Terminal dev team for failing to achieve a consistent 60 fps when displaying fixed-width text, which is such a trivial exercise that Casey whipped up a demo in like two weekends. [1] Now the Notepad team insisted on following in the Windows Terminal team's footprints and slowing down the other fixed-width text app that needs to be lightweight fast for all sorts of reasons. Nobody needs Notepad to be pretty. Everyone needs it to work .[2] Just amazing to see something like this happen. It's like a slow motion train wreck, ruining one Windows app at a time. [1] These videos are especially "shocking" because the code he wrote is terse, straightforward, lightning fast, and more correct than whatever madness Microsoft was doing. First weekend: this video Second weekend: [LINK] [2] For example, opening a 300 MB log file takes a solid minute of time, which is absurdly slow. It also bloats this to 800 MB of memory usage. For comparison, TextPad opens it in 5 seconds and uses 30 MB of memory. VS Code, an electron application(!) opens in under 2 seconds.

      RecommendsView on HN