Lightning Talk: Enhancing C++ exceptions with Context
summary
Claims a lightweight Class Context that attaches rich diagnostic data without changing exception types and with minimal happy-path overhead. Implementation uses a one-line instantiation at scope entry whose constructor captures relevant variables and a thread-local collector that records those context objects only when an exception unwinds. Works with standard exceptions, avoids stack-trace fragility, and powers postcatch dumps. Prototype is part of a microthreading library called f and comes from ideas salvaged from an abandoned language project.
AI-written summary · about
related talks
28mContext Is the New Code
27mContext is the new code: The context development lifecycle
35mHandling Exceptional Conditions with Grace and Elegance
15mContext Is the New Code for AI Agents
46mContext Buddy: the tool that knows your code better than you
08mLightning Talk: Coccinelle for C++
06mLightning Talk: Best Practices Every C++ Programmer Needs to Follow
58mContextual: Enhancing Scala with Your Own Compile-time Checks
