Exceptional C++ - Victor Ciura [ C++ on Sea 2021 ]

3 Просмотры
Издатель
#Programming​ #Cpp​ #CppOnSea​
2021 Program: https://cpponsea.uk/2021/schedule/
C++ On Sea Website: https://cpponsea.uk/
C++ On Sea Twitter: https://twitter.com/cpponsea
Streamed & Edited By Digital Medium Ltd: https://events.digital-medium.co.uk​
-------
When writing code we usually focus our attention on the happy paths - that’s where the interesting stuff happens. But there are also plenty of exciting things happening on the error handling flow, too. Although not universally loved/used, exceptions are a powerful mechanism of maneuvering execution on the unhappy path.

Even if std::exception and related machinery are not your cup of tea, you might care about hardware faults or OS signals like access violations, page errors, ALU overflows.

Let’s take a deep dive and explore what happens when an exception occurs, both at the application level and the OS level. We’ll explore the unwind process, the compiler generated code, the CRT hooks available and other exception internals. As we’re taking the scenic Windows route, we’re also going to encounter async exceptions (structured exceptions) on our quest for a better crash. We’ll poke into these mechanisms and see how we can leverage them in our application error handling. Did I mention threads? Routing exceptions between threads… oh my!

-------
Victor Ciura
Victor Ciura is a Principal Engineer at CAPHYON, Technical Lead on the Advanced Installer team and a Microsoft MVP (Developer Technologies).

He’s a regular guest at Computer Science Department of his Alma Mater, University of Craiova, where he gives student lectures & workshops on using C++ STL Algorithms.

Since 2005, he has been designing and implementing several core components and libraries of Advanced Installer. Currently, he spends most of his time working with his team on improving and extending the repackaging and virtualization technologies in Advanced Installer IDE, helping clients migrate their traditional desktop apps to the modern Windows application format: MSIX.

One of his “hobbies” is tidying-up and modernizing (C++20) the aging codebase of Advanced Installer and has been known to build tools that help this process: Clang Power Tools

More details: @ciura_victor & https://ciura.ro & linkedin.com/victor-ciura

-------
C++ on Sea is an annual c++ and coding conference, usually held in Folkestone, Kent in the UK. The 2021 conference was moved to a virtual event due to social distancing requirements.

Produced and Edited by Digital Medium Ltd: https://events.digital-medium.co.uk
Enquiries: events@digital-medium.co.uk
Категория
Язык программирования C++
Комментариев нет.