-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
error handlingHandling of exceptions by Julia or the userHandling of exceptions by Julia or the user
Description
Setjmp/longjmp exceptions are expensive and require several workarounds to work correctly. Things like the phic nodes/upsilon nodes that cause too much rooting. Also LLVM poorly understands the behaviour of it, basically giving up on many things when seeing a return twice function.
Setjmp is also not a free operation, requiring one to store the whole CPU state.
Talking with @vtjnash I think we should work towards moving to exceptions that look a bit more like C++ ones. Which are "zero-cost".
Related issue: #52533
Metadata
Metadata
Assignees
Labels
error handlingHandling of exceptions by Julia or the userHandling of exceptions by Julia or the user