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

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.
20 Hacker News mentions · 2020–2026