面向现代硬件的算法
Algorithms for Modern Hardware
Sergey Slotin · 初版 2022 年
15人推荐
17位读者提及
22次提及
为什么值得读
- 深入讲解 SIMD、架构瓶颈与代码优化的具体细节
- 结合具体算法示例,展示如何在实际项目中提升代码速度
- 弥补了理论算法与现代硬件实际执行效能之间的鸿沟
Algorithmica 关于性能工程和高性能计算的书(免费在线)。
Hacker News 上怎么说
正在加载完整评论……
Algorithms for Modern Hardware
Sergey Slotin · 初版 2022 年
Algorithmica 关于性能工程和高性能计算的书(免费在线)。
正在加载完整评论……
:) Agner 那本超棒的手册的第 12 章怎么样(https://agner.org/optimize/optimizing_cpp.pdf)、http://const.me/articles/simd/simd.pdf、https://en.algorithmica.org/hpc/simd/ ? 还有其他人有别的可以分享吗?
:) How about Chapter 12 of Agner's awesome manual (https://agner.org/optimize/optimizing_cpp.pdf), http://const.me/articles/simd/simd.pdf, https://en.algorithmica.org/hpc/simd/ ? Does anyone have others to share?
algorithmica 上也有很好的解释: https://en.algorithmica.org/hpc/complexity/languages/
There's a great explanation on algorithmica as well: https://en.algorithmica.org/hpc/complexity/languages/
谢谢,这是一篇很好、正面且有深度的评论。讨论《现代硬件算法》(Algorithms for Modern Hardware)的技术细节很好,但展示现实世界项目在应用各种优化时如何挣扎或成功也很有帮助:Amdahl 定律会让你(在大型程序里)把注意力从一个串行瓶颈转移到另一个。……
Thank you, that is a nice positive and in-depth review. It is good to discuss technical details of 'Algorithms for Modern Hardware' but it also helps to show how real-world projects struggle or succeed in applying various optimizations: Amdahl's law will move you focus from one serial bottleneck to the other (in large programs).…
听起来不错。作为准备,这篇读起来可能挺有意思:https://en.algorithmica.org/hpc/algorithms/argmin/
Sounds good. This might be an interesting read in preparation for those: https://en.algorithmica.org/hpc/algorithms/argmin/
另见 Sergey Slotin 的《现代硬件算法》(Algorithms for Modern Hardware)https://en.algorithmica.org/hpc/ > 它的目标读者包括性能工程师、实用算法研究者,以及刚学完高级算法课程、想了解更多加速程序的实用方法的计算机科学本科生……
See also "Algorithms for Modern Hardware" by Sergey Slotin https://en.algorithmica.org/hpc/ > Its intended audience is everyone from performance engineers and practical algorithm researchers to undergraduate computer science students who have just finished an advanced algorithms course and want to learn more practical ways to speed up a program ...
包含这篇文章的网站还收集了其他关于这类东西的文章。你也可以在《现代硬件算法》(Algorithms for Modern Hardware)的某些部分读到相关内容[0]。highload.fun 还包含一些关于这些东西的其他链接[1]。总的来说没有很好的指南,最好还是自己动手实践。highload.fun 恰好是个动手的好地方 :) [0]: https://en.algorithmica.or
The web site containing the article has a collection of other articles about this sort of thing. You can also read about this in some parts of Algorithms for Modern Hardware[0]. highload.fun includes some other links about this stuff[1]. In general there isn't a great guide and it's best to get your hands dirty. highload.fun happens to be a good place to do that :) [0]: https://en.algorithmica.or