User Tools

Site Tools


2013:exception-safe_coding_in_c

Back to proposals-2013

Title: Exception-Safe Coding in C++
Proposer: jon_kalb
Type: Tutorial
Duration: 180 minutes
Description: 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++, 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. This talk will cover C++11 and its impact on exception-safe coding.

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 and Conference Committee,

I’ve heard great things about your conferences and I’ve become active with our local Silicon Valley chapter so I’m very excited about the prospect of presenting at ACCU.

I’ve been presenting on Exception-Safe code for a few years and with the addition of C++11 coverage, my talk has grown to three hours. I realize that this sounds like a lot of time, but my coverage is pretty exhaustive and I can hold an audience.

I have a page for the topic at http://exceptionsafecode.com and it has links to videos of both a pre-C++11 version that is eighty-five minutes and the two-part (three hour) version covering C++11 that I gave at this year’s C++ Now conference.

Roger: maybe … but it's a long presentation and we've had stuff about safe C++ exceptions before…
Asti - unlikely

2013/exception-safe_coding_in_c.txt · Last modified: 2016/06/11 14:05 by 127.0.0.1