Skip to content

The Zero Cost Exception Model

Photo of Andreas Weis
Hosted By
Andreas W. and 3 others
The Zero Cost Exception Model

Details

Exceptions are the cornerstone of C++'s error handling. In this presentation I'll look at how exceptions are compiled and processed at run-time. I'll give a step-by-step view of the zero cost model, and determine it's actual costs. It is by no means free, but an improvement to the previous method. Is it the best way however?

I worked on exceptions while writing my own compiler. I will show how common code structures, including destructors, get compiled to low-level blocks. This in turn shows how exceptions are handled, and propagated.

Agenda:
19:00: Get together, networking (snacks and drinks)
19:30: Welcome note Celonis
19:40: Lightning talk 1
~20:00: The Zero Cost Exception Model (Edaqa Mortoray)
~21:10 Open discussions
~22:00 The end

Sponsor: Celonis (https://www.celonis.com)

Photo of MUC++ group
MUC++
See more events
MUC++
Photo of MUC++ group
No ratings yet
Celonis
Theresienstraße 6, back premises, ground floor · Munich, al