Hudson River Trading

Intern Spotlight: 2023 Software Engineering Summer Projects

Nov 2, 2023ndepalo
Intern Spotlight: 2023 Software Engineering Summer Projects
SummaryAI, from the source post

This post details the work done by an intern to overhaul HRT's internal backtrace library. The improvements include providing a modern interface to fetch binary names, symbol names, source code locations, and snippets from captured frame pointers. The updated system supports different levels of granularity and works with the internal exception class, enhancing the debugging experience for C++ exceptions. It also covers providing full context from the std::terminate handler and propagating C++ backtraces into Python when exceptions cross the boundary. The post highlights the balance between information granularity and performance overhead, with support for manually specified or environment-implied detail levels.