hackertubescom
← 影片目錄

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

CppCon · 7 則 HN 推薦

影片問答

可以請 AI 解釋目前片段,或總結整部影片。如果回答附有時間戳記,點選即可跳到對應片段。

試著問:這裡講的是什麼意思?

需使用 Google 登入。確認前可查看最多會扣除多少點數。

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 推薦的原因: HN commenters cite it whenever zero-cost abstraction claims come up, especially for why unique_ptr is not free on some ABIs.

“Chandler presents his point clearly and goes deep enough into the subject.” 閱讀 HN 討論 ↗