setjmp/longjmp
AssessTechniques
C APIs for saving and restoring execution context, often used for non-local jumps.
Why it's here
Placed in Assess: 1 article(s) of evidence from 1 source(s), led by framework updates, with 0 in the last 30 days. Confidence 24%. Low accumulated evidence, so it defaults conservatively pending more signal.
Evidence (1)
- 7Hacker News·6/30/2026framework_updateFil-C Adds Memory-Safe Context Switching Support
Fil-C now supports setjmp, longjmp, setcontext, getcontext, makecontext, and swapcontext in a memory-safe way, avoiding stack corruption and dangling-stack execution. The update focuses on preserving safety even when these APIs are misused, which is especially relevant for code that implements exceptions, coroutines, and fibers.