Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ranger_danger
· 3y ago · 0 comments
Strange effect however I kinda felt it too. But alas `#include <setjmp.h>` here be dragons.
Comments
[–]
mananaysiempre
3y 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.
[–]
fsckboy
3y 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