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

    New computers don't speed up old code

    Matthias random stuff

    3 HN recommenders · recommended in 3 months, 2025

    YouTube

    19:25 · 187K views · Apr 29, 2025

    Matthias Wandel tests old and new code on a range of PCs, including a new mini PC, to measure how much faster modern hardware really is. He also shows optimization techniques such as branchless code, with benchmark programs on GitHub.

    Used as evidence that CPU speed for branchy, dependent code has improved only modestly in 15-20 years, so software optimization matters.

    Software Engineering & LanguagesSoftware performance & optimizationComputer architecture & CPUs
    1. 59:21
      A Crash Course in Modern Hardware by Cliff ClickDevoxx21K views • 9 years ago
    2. 2:50:14
      Simple Code, High PerformanceMolly Rocket464K views • 5 years ago
    3. 1:00:58
      CppCon 2017: Chandler Carruth “Going Nowhere Faster”CppCon113K views • 9 years ago
    4. 59:11
      How to Speed up a Python Program 114,000 times.InfoQ171K views • 13 years ago
    5. 1:16:58
      code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You CareNOKIA Technology Center Wrocław231K views • 11 years ago
    6. 42:15
      "Performance Matters" by Emery BergerStrange Loop Conference502K views • 7 years ago
    7. 1:04:48
      "Performance (Really) Matters" with Emery BergerAssociation for Computing Machinery (ACM)7.1K views • 6 years ago
    8. 28:47
      Someone improved my code by 40,832,277,770%Stand-up Maths3.1M views • 4 years ago
    9. 22:41
      "Clean" Code, Horrible PerformanceMolly Rocket1.2M views • 3 years ago
    10. 1:13:41
      CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"CppCon235K views • 12 years ago
    11. 1:48:55
      The Thirty Million Line ProblemMolly Rocket326K views • 8 years ago
    12. 38:20
      Twitter and Visual Studio RantMolly Rocket158K views • 6 years ago
    13. 51:04
      [EPILEPSY WARNING] How fast should an unoptimized terminal run?Molly Rocket193K views • 5 years ago
    14. 1:27:46
      CppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon863K views • 12 years ago
    15. 18:41
      Refterm Lecture Part 1 - Philosophies of OptimizationMolly Rocket93K views • 5 years ago
    16. 35:42
      Progressive Performance (Chrome Dev Summit 2016)Chrome for Developers34K views • 9 years ago
    17. 0:56
      Classic Teams vs new Teams side by side videoMicrosoft Teams64K views • 3 years ago
    18. 1:29:54
      CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"CppCon188K views • 11 years ago
    19. 48:04
      "NTFS really isn't that bad" - Robert Collins (LCA 2020)linux.conf.au161K views • 6 years ago
    20. 34:55
      "Outperforming Imperative with Pure Functional Languages" by Richard FeldmanStrange Loop Conference98K views • 5 years ago

    4 comments from Hacker News

    1. @MontyCarloHallSep 2025· in “The Weird Concept of Branchless Programming”

      This great video [0] demonstrates how CPU performance has only increased 1.5-2x over the past 15(!) years when executing extremely branchy code. Really shows you just how deep modern CPU pipelines have become. The video also showcases a much more impressive branchless speedup: computing CRC checksums. Doing this naïvely with an if-statement for each bit is ~10x slower than doing it branchless with a single bitwise operation for each bit. The author of the article should consider showcasing this too, since it's a lot more impressive than the measly 1.2x speedup highlighted in the article. I assume the minimal/nonexistent speedups in the article are due to modern CPU branch prediction being quite good. But branch predictors inherently fail miserably at CRC because the conditional is on whether the input bit is 1 or 0, which is essentially random. [0] this video

      Strongly recommendsView on HN
    2. @dijitMay 2025· in “The world could run on older hardware if software optimization was a priority”

      Maybe since 1980. I recently watched a video that can be summarised quite simply as: "Computers today aren't that much faster than the computers of 20 years ago, unless you specifically code for them". this video It's a little bit ham-fisted, as the author was shirking decades of compile optimisations also , and it's not apples to apples as he's comparing desktop class hardware with what is essentially laptop hardware; but it's also interesting to see that a lot of the performance gains really weren't that great actually. he observes a doubling of performance in 15 years! Truth be told most people use laptops now, and truth be told 20 years ago most people used desktops, so it's not totally unfair. Maybe we've bought a lot into marketing.

      RecommendsView on HN
    3. @torginusAug 2025· in “Uncle Sam shouldn't own Intel stock”

      Watch this video: this video New computers aren't as much faster as benchmarks would lead you to believe. If your code relies on unpredictable branches, dependept memory accesses in a tight loop, or very tight feedback loops inside computations, new CPUs won't have that much of an edge.

      RecommendsView on HN
    4. @scotty79May 2025· in “The world could run on older hardware if software optimization was a priority”

      Since 1980 maybe. But since 2005 it increased maybe 5x and even that's generous. And that's half of the time that passed and two decades. this video

      CitesView on HN