CppCon 2014: Jon Kalb 'Exception-Safe Code, Part I'

preview_player
Показать описание

--
Are you 100% confident that your code is exception-safe?

Safe usage of exceptions is a non-trivial problem that the industry has struggled with for the better part of two decades. If you have fear, uncertainty, or doubt about exception safety or just want to see the best practices for using exceptions in C++ and/or C++11/14, this session is for you. We'll start with "What is the problem we are trying to solve?" and discuss alternatives, acknowledge the challenges associated with exception usage, and cover some well-meaning but misguided attempts at safety. I will then present a set of guidelines that are the basis for safe exception usage and solid implementation techniques, including how to transition from an exception-unsafe legacy code base.

When we are finished you will know how to produce code that is easier to write, easier to understand, faster, and 100% robust in the face of exceptions.
--
Jon has been programming in C++ for over twenty years. During the last two decades he has written C++ for Apple, Dow Chemical, Intuit, Lotus, Microsoft, Netscape, Sun, Yahoo! and some less well­‐known companies. He taught C++ in the graduate school at Golden Gate University for three years and is a founding moderator of the Boost‐User and Boost‐Interest mailing lists.

Jon is active in the Silicon Valley chapter of the ACCU and programs the C++ track at the Silicon Valley Code Camp.

--

*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

For anyone who is worried, the audio gets fixed at 4:15.

mtxf
Автор

This is one of the best, most informative talks I've seen at CppCon. The presentation itself is interesting (and not dull or monotone), and the topic is actually relevant to writing good code.

srcmake
Автор

Pointing at a screen without highlighting the content in the slides (around minute 40) leads to confused recording viewers

ytzbn
Автор

what was the conversation from 16:10- 16 25?

anfield
Автор

certainly at 13:10, Yoda didn't say those. he would have said it differently : 3

victornoagbodji
Автор

Do I be the only one who needs a subtitle?

frankwang
Автор

static_assert(noexcept(...)); // Stay away from me, exceptions.

antiHUMANDesigns