3 ms·
Strange effect however I kinda felt it too. But alas `#include <setjmp.h>` here be dragons.
by ranger_danger 3y ago
Strange effect however I kinda felt it too. But alas `#include <setjmp.h>` here be dragons.
- mananaysiempre 3y agoUnless you want half your C logic to be error propagation, it’ll have to be <setjmp.h>, all its flaws notwithstanding. Manual unwinding can be done tastefully (see Tcl), but in the single-digit-KLOC weight class it’s not really a choice.
- fsckboy 3y agowhile we're marvelling about how small and compact it is, then just replace them (with something uglier and less performant), it's not rocket science