CppCon 2018: Andrei Alexandrescu “Expect the expected”
http://CppCon.org
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2018
—
Writing code that is resilient upon errors has always been a pain point in all languages. Exceptions are the politically correct means to signal errors in C++, but many applications still resort to error codes for reasons related to ease of understanding, ease of handling errors locally, and efficiency of generated code.
This talk shows how a variety of theoretical and practical artifacts can be combined together to address error codes and exceptions in one wholesome, simple package. The generic type expected<T> can be used for both local (error-code-style) and centralized (exception-style) manners, drawing from the strengths of each.
—
Andrei Alexandrescu, The D Language Foundation
Vice President
Andrei Alexandrescu is a researcher, software engineer, and author. He wrote three best-selling books on programming (Modern C++ Design, C++ Coding Standards, and The D Programming Language) and numerous articles and papers on wide-ranging topics from programming to language design to Machine Learning to Natural Language Processing. Andrei holds a PhD in Computer Science from the University of Washington and a BSc in Electrical Engineering from University "Politehnica" Bucharest. He is the Vice President of the D Language Foundation.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Видео CppCon 2018: Andrei Alexandrescu “Expect the expected” канала CppCon
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2018
—
Writing code that is resilient upon errors has always been a pain point in all languages. Exceptions are the politically correct means to signal errors in C++, but many applications still resort to error codes for reasons related to ease of understanding, ease of handling errors locally, and efficiency of generated code.
This talk shows how a variety of theoretical and practical artifacts can be combined together to address error codes and exceptions in one wholesome, simple package. The generic type expected<T> can be used for both local (error-code-style) and centralized (exception-style) manners, drawing from the strengths of each.
—
Andrei Alexandrescu, The D Language Foundation
Vice President
Andrei Alexandrescu is a researcher, software engineer, and author. He wrote three best-selling books on programming (Modern C++ Design, C++ Coding Standards, and The D Programming Language) and numerous articles and papers on wide-ranging topics from programming to language design to Machine Learning to Natural Language Processing. Andrei holds a PhD in Computer Science from the University of Washington and a BSc in Electrical Engineering from University "Politehnica" Bucharest. He is the Vice President of the D Language Foundation.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Видео CppCon 2018: Andrei Alexandrescu “Expect the expected” канала CppCon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![CppCon 2015: Andrei Alexandrescu “std::allocator...”](https://i.ytimg.com/vi/LIb3L4vKZ7U/default.jpg)
![The next big Thing - Andrei Alexandrescu - Meeting C++ 2018 Opening Keynote](https://i.ytimg.com/vi/tcyb1lpEHm0/default.jpg)
![CppCon 2018: Kate Gregory “Simplicity: Not Just For Beginners”](https://i.ytimg.com/vi/n0Ak6xtVXno/default.jpg)
![CppCon 2017: Matt Godbolt “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”](https://i.ytimg.com/vi/bSkpMdDe4g4/default.jpg)
![The Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]](https://i.ytimg.com/vi/SFv8Wm2HdNM/default.jpg)
![C++Now 2017: Ali Çehreli “Competitive Advantage with D"](https://i.ytimg.com/vi/vYEKEIpM2zo/default.jpg)
![CppCon 2018: Herb Sutter “Thoughts on a more powerful and simpler C++ (5 of N)”](https://i.ytimg.com/vi/80BZxujhY38/default.jpg)
![CppCon 2018: Matt Godbolt “The Bits Between the Bits: How We Get to main()”](https://i.ytimg.com/vi/dOfucXtyEsU/default.jpg)
![CppCon 2016: Timur Doumler “Want fast C++? Know your hardware!"](https://i.ytimg.com/vi/BP6NxVxDQIs/default.jpg)
![CppCon 2018: Bjarne Stroustrup “Concepts: The Future of Generic Programming (the future is here)”](https://i.ytimg.com/vi/HddFGPTAmtU/default.jpg)
![CppCon 2017: Louis Brandy “Curiously Recurring C++ Bugs at Facebook”](https://i.ytimg.com/vi/lkgszkPnV8g/default.jpg)
![CppCon 2014: Andrei Alexandrescu "Optimization Tips - Mo' Hustle Mo' Problems"](https://i.ytimg.com/vi/Qq_WaiwzOtI/default.jpg)
![CppCon 2017: Kate Gregory “10 Core Guidelines You Need to Start Using Now”](https://i.ytimg.com/vi/XkDEzfpdcSg/default.jpg)
![CppCon 2019: Herb Sutter “De-fragmenting C++: Making Exceptions and RTTI More Affordable and Usable”](https://i.ytimg.com/vi/ARYP83yNAWk/default.jpg)
![CppCon 2017: Nicolai Josuttis “The Nightmare of Move Semantics for Trivial Classes”](https://i.ytimg.com/vi/PNRju6_yn3o/default.jpg)
![CppCon 2015: Andrei Alexandrescu “Declarative Control Flow"](https://i.ytimg.com/vi/WjTrfoiB0MQ/default.jpg)
![Understanding Compiler Optimization - Chandler Carruth - Opening Keynote Meeting C++ 2015](https://i.ytimg.com/vi/FnGCDLhaxKU/default.jpg)
![CppCon 2019: Bjarne Stroustrup “C++20: C++ at 40”](https://i.ytimg.com/vi/u_ij0YNkFUs/default.jpg)
![CppCon 2018: Jonathan Boccara “105 STL Algorithms in Less Than an Hour”](https://i.ytimg.com/vi/2olsGf6JIkU/default.jpg)
![CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”](https://i.ytimg.com/vi/rHIkrotSwcc/default.jpg)