filmov
tv
CppCon 2019: Marshall Clow “std::midpoint? How Hard Could it Be?”
Показать описание
—
—
—
The standards committee adopted "P0811: Well-behaved interpolation for numbers and pointers" for C++20.
It includes a new library call `std::midpoint`.
The paper says "The simple problem of computing a value between two other values is surprisingly subtle in general."
In this talk, I will explore this simple call, provide a history of the development in libc++, and show some of the pitfalls.
Undefined behavior will rear its ugly head, along with numeric representations, and the arcane C promotion rules.
Along the way, we'll talk about testing, and why writing extensive tests helps everyone.
—
Marshall Clow
C++ Alliance
Engineer
Marshall has been programming professionally for 35 yearsHe is the author of Boost.Algorithm, and has been a contributor to Boost for more than 15 years. He is the chairman of the Library working group of the C++ standard committee. He is the lead developer for libc++, the C++ standard library for LLVM.
—
*-----*
*-----*
—
—
The standards committee adopted "P0811: Well-behaved interpolation for numbers and pointers" for C++20.
It includes a new library call `std::midpoint`.
The paper says "The simple problem of computing a value between two other values is surprisingly subtle in general."
In this talk, I will explore this simple call, provide a history of the development in libc++, and show some of the pitfalls.
Undefined behavior will rear its ugly head, along with numeric representations, and the arcane C promotion rules.
Along the way, we'll talk about testing, and why writing extensive tests helps everyone.
—
Marshall Clow
C++ Alliance
Engineer
Marshall has been programming professionally for 35 yearsHe is the author of Boost.Algorithm, and has been a contributor to Boost for more than 15 years. He is the chairman of the Library working group of the C++ standard committee. He is the lead developer for libc++, the C++ standard library for LLVM.
—
*-----*
*-----*
CppCon 2019: Marshall Clow “std::midpoint? How Hard Could it Be?”
C++Now 2019: Marshall Clow “The View from a Standard Library Implementor”
2019 EuroLLVM Developers’ Meeting: M. Clow “Changes to the C++ standard library for C++20”
Marshall Clow — Hardening the C++ standard template library
CppCon 2015: Marshall Clow “string_view'
When C++ Zero-Cost Abstraction fails: how-to Fix Your Compiler - Adrien Guinet - CppCon 2019
C++ STL numeric - std::midpoint -- Interview Question! | Modern Cpp Series Ep. 177
2018 EuroLLVM Developers’ Meeting: M. Clow “Hardening the Standard Library”
CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”
CppCon 2019: Jeff Garland “The C++20 Standard Library: Beyond Ranges”
Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019
Non-conforming C++: the Secrets the Committee Is Hiding From You - Miro Knejp - CppCon 2019
J. Bialek, S. Block “Killing Uninitialized Memory: Protecting the OS Without Destroying Performance”...
Functional Programming without the Functions - Norm Birkett - CppCon 2019
unique_pseudofunction: N overloads for the price of 1 - Filipp Gelman - CppCon 2019
Maintainability and Refactoring Impact of Higher-Level Design Features - Titus Winters - CppCon 2019
How to Implement Your First Compiler Feature:The Story of Concepts in Clang - Saar Raz - CppCon 2019
A new tool for fighting against Hyrum’s law in ... concept-driven design - D. Hollman - CppCon 2019...
The Truth of a Procedure - Lisa Lippincott - CppCon 2019
Text - Corentin Jabot - CppCon 2019
Finding Strings in Large Files - Ondrej Dobias - CppCon 2019
v.~uint32_t(); - Matthis Kruse - CppCon 2019
C++ Class Natures in Their Canonical Form and How to Find Them - Peter Sommerlad - CppCon 2019
I need a volunteer who is not afraid of failure - Sy Brand - CppCon 2019
Комментарии