New computers don't speed up old code
推荐理由
This great video [0] demonstrates how CPU performance has only increased 1.5-2x over the past 15(!) years when executing extremely branchy code.
说明
这是2025年由Matthias random stuff发布的一部讲解,主题归在Software performance & optimization。它讲的是cpu performance over time这一支里的具体问题,而不是把整个领域扫一遍。适合已经能看懂基本术语、想继续往下走的人。内容上可以概括成: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.讲法不绑某一条新闻,过几年仍然可以当材料看。从2025年到2025年,有3位不同的读者在3个不同月份把它推荐出来,其中明确叫别人去看的有1次。适合用一集把一个概念补上的人。抓住它用的那个图像或类比,比背公式重要。如果已经会了基本定义,就把注意力放在它怎么把cpu performance over time变成能跟着复述的例子。
视频信息
- 频道
- Matthias random stuff
- 时长
- 19 分 25 秒
- 发布年份
- 2025
同主题更多
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework
- CppCon 2015: Andrei Alexandrescu “std::allocator...”
- Preventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc)
- "Performance Matters" by Emery Berger
- The Thirty Million Line Problem
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”