News for hackers. Stuff that matters.
Re:Let's write a setjmp by aardvark179 on Sunday February 12, 2023 @08:20AM (#34762617)
Depending on the ABI it’s saving a lot of registers, and it is very easy to end up calling it a lot if you cannot guarantee the code that may be called by functions you call and you need to do any cleanup.

C++ and other languages tend to make the fast path of no exception extremely fast and store additional data about functions that allow for stack unwinding when an exception is thrown.

There are no comments on this comment yet.