Y
Hacker News
new
|
ask
|
show
|
jobs
by
ranger_danger
1104 days ago
Strange effect however I kinda felt it too. But alas `#include <setjmp.h>` here be dragons.
2 comments
mananaysiempre
1104 days ago
Unless 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.
link
fsckboy
1103 days ago
while 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
link