filmov
tv
CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”
Показать описание
—
—
—
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.
—
Chandler Carruth
Google
—
*-----*
*-----*
—
—
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.
—
Chandler Carruth
—
*-----*
*-----*
CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”
What is C++ - Chandler Carruth, Titus Winters - CppCon 2019
C++Now 2019: Chandler Carruth “A clean and minimal map API”
CppCon 2018: Chandler Carruth “Spectre: Secrets, Side-Channels, Sandboxes, and Security”
CppCon 2015: Moderator: Chandler Carruth 'Technical Specifications & C++17'
CppCon 2016: Chandler Carruth “Garbage In, Garbage Out: Arguing about Undefined Behavior...'
A live demo about giving live demos - Chandler Carruth
Modernizing Compiler Design for Carbon Toolchain - Chandler Carruth - CppNow 2023
On 'simple' Optimizations - Chandler Carruth - Secret Lightning Talks - Meeting C++ 2016
Definition-Checked Generics, Part 1: The Why & How - Chandler Carruth, Josh Levenberg, Richard S...
C++: what comes next? - Chandler Carruth - NDC TechTown 2022
Beautiful Folds - Manuel Bergler - CppCon 2019
CppCon 2019: Matt Godbolt “Path Tracing Three Ways: A Study of C++ Style”
Small is beautiful: Techniques to minimise memory footprint - Steven Pigeon - CppCon 2019
CppCon 2019: Tony Van Eerd Objects vs Values: Value Oriented Programming in an Object Oriented World
Spectre/C++ - Zola Bridges, Devin Jeanpierre - CppCon 2019
Non-conforming C++: the Secrets the Committee Is Hiding From You - Miro Knejp - CppCon 2019
CppCon 2019: Michael Price “A Critical Look at the Coding Standards Landscape”
Carbon Language: An experimental successor to C++ - Chandler Carruth - CppNorth 2022
The Truth of a Procedure - Lisa Lippincott - CppCon 2019
Highlighting C++ with C++ is… Hard - Marcin Zdun - CppCon 2019
Language as an Ultimate Approach to Problem Solving - Alex Voronov - CppCon 2019
Using a Smart Event Dispatcher in C++ - Pranay Kumar - CppCon 2019
(Ab)using Compiler Tools - Reka Kovacs - CppCon 2019
Комментарии