编译器优化进阶 2025
Advent of Compiler Optimisations 2025

原始链接: https://xania.org/202511/advent-of-compiler-optimisation

12月1日起,将推出一个名为“编译器优化历险记”(AoCO2025)的每日技术系列,持续到12月25日。该项目历时一年,每天将包含一篇博文和配套视频,探索迷人的C和C++编译器优化技术。 内容将涵盖从低级别的、特定架构的技巧(主要针对x86-64,并包含一些ARM覆盖)到更广泛的高级优化。每篇文章将解释优化*何时*适用,*如何*理解生成的汇编代码,以及关键的,优化*何时*不起作用。 作者希望展示现代编译器的强大和复杂性,并邀请观众在他们的博客、YouTube频道或专门的AoCO2025播放列表中关注。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 编译器优化历险记 2025 (xania.org) 8 分,由 vismit2000 发表于 38 分钟前 | 隐藏 | 过去 | 收藏 | 1 条评论 ktallett 发表于 12 分钟前 [–] 这太棒了。恭喜你们的工作质量!回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Today I’m announcing a project that’s been in the making for around a year. As my time off draws to a close, I’ve been working on an “Advent of” type project, to be released one a day from the 1st of December until the 25th.

This December will be the Advent of Compiler Optimisations: I’ll release one blog post and video each day, each detailing a fun and interesting C or C++ optimisation that your compiler can do. I’ll go into the details of when it applies, how to interpret the assembly, and perhaps as importantly, when it doesn’t apply.

I’ll be covering some very low-level, architecture-specific tricks as well as larger, more high-level optimisations. While I mostly cover x86-64, I do touch on 64-bit and 32-bit ARM as well.

You can follow along by watching the AoCO2025 tag on this blog, subscribing to me on YouTube, or following the YouTube playlist.

It’s been a colossal amount of work, but a lot of fun too. I hope you enjoy learning how amazing compilers are as much as I do!

See you on the first of December!

联系我们 contact @ memedata.com