DiscoverCppCon 2017 Sessions (Audio)C++ Exceptions and Stack Unwinding
C++ Exceptions and Stack Unwinding

C++ Exceptions and Stack Unwinding

Update: 2018-01-08
Share

Description

Exceptions are often described as 'slow', and the standard advice is to use them only in exceptional circumstances. In this talk, we'll find out how slow exceptions really are by exploring the Itanium exception handling model. We'll dive into several implementations (libunwind, gcc, llvm-libunwind), and learn about everything that happens between throw() and catch(). We will discover the answers to questions such as why throwing an exception takes a global lock (and how to avoid it), how caching can speed up the performance of exceptions, and how to get better stack traces.
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

C++ Exceptions and Stack Unwinding

C++ Exceptions and Stack Unwinding

Dave Watson