127 - Isolating Exception Handling
Channel: StableCoder
Date: 2021-09-08

This short session focuses on isolating and removing exception handling from the majority of the libraries and code.

For the most part, exception handling isn't the way forward for high-performance code, it bloats binaries and is exceptionally slow. A better solution is the use of error codes, which have already permeated the codebase, so this session does turn off compilation of exception-handling.

However, some libraries rely on exception handling code, notably the yaml-cpp dependency, and the code surrounding that. As such, those specific libraries keep exceptions on, and the EH-requiring code in the bringup application is split into a separate static library for compilation.

2021-08-29