CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”
—
Discussion & Comments:
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at:
—
C is often described as providing zero-cost abstractions. Libraries offer up facilities documented as such. And of course, users read all of these advertisements and believe that the abstractions they are using are truly zero-cost.
Sadly, there is no truth in advertising here, and there are no zero-cost abstractions.
This talk will dive into what we mean by “zero-cost abstractions“, and explain why it is at best misleading and at worst completely wrong to describe libraries this way. It will show case studies of where this has led to significant problems in practice as libraries are designed or used in unscalable and unsustainable ways. Finally, it will suggest a different framing and approach for discussing abstraction costs in modern C software.
—
Chandl
1 view
581
132
2 years ago 01:29:55 1
Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019
2 years ago 00:53:49 1
Back to Basics: Move Semantics (part 2 of 2) - Klaus Iglberger - CppCon 2019
3 years ago 01:01:30 1
CppCon 2019: Ben Saks “Back to Basics: Exception Handling and Exception Safety”
3 years ago 00:51:12 1
CppCon 2019: Kostas Kyrimis ADL: introduction in name taxonomy, customization points and use cases
3 years ago 01:00:19 1
CppCon 2019: Timur Doumler “Type punning in modern C++”
3 years ago 00:52:23 5
CppCon 2019: Miro Knejp “Non-conforming C++: the Secrets the Committee Is Hiding From You”
4 years ago 00:59:53 1
CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”
4 years ago 00:55:42 3
CppCon 2019: Matt Godbolt “Path Tracing Three Ways: A Study of C++ Style”
4 years ago 01:00:15 1
C++20 STL Features: One Year of Development on GitHub - Stephan T. Lavavej - CppCon 2020
4 years ago 01:03:05 1
CppCon 2019: Timur Doumler “C++20: The small things”
4 years ago 01:31:26 1
CppCon 2019: Bjarne Stroustrup “C++20: C++ at 40”
5 years ago 00:56:45 1
CppCon 2019: Greg Law “Modern Linux C++ debugging tools - under the covers”
5 years ago 01:00:15 1
CppCon 2019: Patrice Roy “C++ as a First Language... Really?”
5 years ago 00:32:20 1
CppCon 2019: Billy O’Neal “C++ Standard Library “Little Things”
5 years ago 00:58:02 1
CppCon 2019: Jonathan Müller “Using C++20’s Three-way Comparison <=>”
5 years ago 01:05:31 1
CppCon 2019: Gordon Brown “Efficient GPU Programming with Modern C++”
5 years ago 00:13:26 1
C++ Weekly - Ep 173 - The Important Parts of C++98 in 13 Minutes