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

    Refterm v2 - Resource usage, binary splat, glyph sizing, and more

    Molly Rocket

    3 HN recommenders · recommended in 6 months, 2021–2025

    YouTube

    29:51 · 68K views · Jul 11, 2021

    Casey Muratori follows up his refterm proof-of-concept, a GPU-based terminal renderer, with a second part covering memory usage, glyph sizing and correct Unicode and VT handling. It is built to show that a terminal can be fast and correct without heroic effort.

    HN points to it as proof that a small, straightforward renderer can beat Windows Terminal on speed and memory, whenever software slowness comes up.

    Software Engineering & LanguagesSoftware performance & optimizationComputer graphics & renderingGraphic design & typography
    1. 51:04
      [EPILEPSY WARNING] How fast should an unoptimized terminal run?Molly Rocket193K views • 5 years ago
    2. 38:20
      Twitter and Visual Studio RantMolly Rocket158K views • 6 years ago
    3. 1:01:09
      Plenary: Performance Matters - Emery Berger - CppCon 2020CppCon33K views • 6 years ago
    4. 18:41
      Refterm Lecture Part 1 - Philosophies of OptimizationMolly Rocket93K views • 5 years ago
    5. 2:50:14
      Simple Code, High PerformanceMolly Rocket464K views • 5 years ago
    6. 42:15
      "Performance Matters" by Emery BergerStrange Loop Conference502K views • 7 years ago
    7. 22:41
      "Clean" Code, Horrible PerformanceMolly Rocket1.2M views • 3 years ago
    8. 1:25:34
      8 Bit & '8 Bitish' Graphics-Outside the BoxGDC Festival of Gaming569K views • 9 years ago
    9. 25:52
      Halide TalkAndrew Adams53K views • 12 years ago
    10. 15:00
      I wrote a Raytracer for DOS, 16 VGA colorsBisqwit905K views • 15 years ago
    11. 1:48:55
      The Thirty Million Line ProblemMolly Rocket326K views • 8 years ago
    12. 1:22:13
      HandmadeCon 2016 - History of Software Texture Mapping in GamesMolly Rocket15K views • 9 years ago
    13. 59:11
      How to Speed up a Python Program 114,000 times.InfoQ171K views • 13 years ago
    14. 40:34
      Charlie Marsh: uv: An Extremely Fast Python Package ManagerJane Street108K views • 2 years ago
    15. 1:04:48
      "Performance (Really) Matters" with Emery BergerAssociation for Computing Machinery (ACM)7.1K views • 6 years ago
    16. 18:20
      FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)Kaze Emanuar3.2M views • 4 years ago
    17. 2:12
      3D Gaussian Splatting - Why Graphics Will Never Be The SameIndividualKex2M views • 3 years ago
    18. 0:14
      Chrome vs Firefox vs Safari vs Servo WebRenderJake Archibald121K views • 10 years ago
    19. 3:53:11
      Shader Basics, Blending & Textures • Shaders for Game Devs [Part 1]Freya Holmér1.9M views • 5 years ago
    20. 1:13:51
      Handmade Hero Day 001 - Setting Up the Windows BuildMolly Rocket465K views • 11 years ago

    10 comments from Hacker News

    1. @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: [LINK] Second weekend: this video [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
    2. @jiggawattsAug 2021· in “WireGuardNT, a high-performance WireGuard implementation for the Windows kernel”

      For reference, I've never seen the built-in Windows VPN protocols exceed ~70 Mbps in any scenario. Maybe it's possible with a crossover cable between two Mellanox 100 Gbps NICs, using water-cooled and overclocked CPUs, but not over ordinary networks with ordinary servers. I have gigabit wired Internet to a site with gigabit Internet. Typical performance of SSTP or IKEv2 is 15-30 Mbps. That's 1.5% to 3% max utilisation of the available bandwidth, which is just... sad. It's not the specific site either, other vendor VPNs can easily achieve > 300 Mbps over the same path. It's a year and a half into the pandemic, there are record numbers of people working from home, and Microsoft is the world's second biggest company right now. Meanwhile, volunteers put together a protocol in their spare time that is not only more secure but can also easily do 7.5 Gbps! That needs to be repeated: At least ONE HUNDRED TIMES faster than the "best" Microsoft can offer to their hundreds of millions of enterprise customers that are working from home. Someone from Microsoft's networking team needs to read this, and then watch Casey Muratori's rant about Microsoft's poor track record with performance: this video

      RecommendsView on HN
    3. @fredrikholmJul 2021· in “Looking at the Performance of Refterm”

      In his follow up video[0], he shows that in-use-memory is half that of Windows terminal, whilst simultaneously being >100x faster. Windows terminal chugging away in the background consuming 20% CPU for minutes at a time whilst he's debunking these claims / running the same data on refterm a few times over is hilarious (inflammatory or not). 0. this video

      RecommendsView on HN
    4. @mariusorJul 2021· in “Warp: Fast, Rust-based terminal (waiting list)”

      You should look into Casey Muratori's quest[1] against Windows terminal slowness on github and youtube. There were some heated exchanges there and some proof of concept software created to demonstrate both how slow Windows Terminal is, and how fast a GPU enabled terminal can be. [1] The latest video for it is here: this video

      RecommendsView on HN
    5. @jiggawattsOct 2021· in “It takes a PhD to develop that”

      Don't assume. Casey Muratori produced a highly correct Unicode renderer with correct VT code support. Watch the video: this video

      RecommendsView on HN