PickVids

CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”

推荐理由

Chandler presents his point clearly and goes deep enough into the subject.

强烈推荐metalrain · 原文

说明

这是2019年由CppCon发布的一部演讲,主题归在C, C++, Rust, Go & systems languages。它讲的是c++ abstraction costs这一支里的具体问题,而不是把整个领域扫一遍。适合想看推导、证明或实现细节的人。内容上可以概括成:Chandler Carruth argues in a CppCon 2019 talk that C++ has no truly zero-cost abstractions. Using examples like unique_ptr, ABI constraints and compile-time costs, he shows that abstractions cost runtime, compile time or human effort.这些读者给出的理由,核心是:HN commenters cite it whenever zero-cost abstraction claims come up, especially for why unique_ptr is not free on some ABIs.讲法不绑某一条新闻,过几年仍然可以当材料看。从2020年到2026年,有7位不同的读者在7个不同月份把它推荐出来,其中明确叫别人去看的有1次。适合一次性看完。讲者把一个判断讲透,演示是在给这个判断配例子。如果已经会了基本定义,就把注意力放在它怎么把c++ abstraction costs变成能跟着复述的例子。

视频信息

频道
CppCon
时长
59 分 53 秒
发布年份
2019
在 YouTube 打开

同主题更多

想知道新收录了什么?

可选。只保存这个邮箱,不创建账号,也不拿它登录。