logoalt Hacker News

pizlonatortoday at 2:17 AM1 replyview on HN

What misuse are you imagining that isn’t a memory safety problem?

You might find that Fil-C prevents those too. It’s pretty strict. You can only use longjmp to pop stack like an exception would


Replies

gruntled-workertoday at 2:57 AM

Resource leaks, crossing non-exception-safe library/system code, CPU-specific quirks like accidentally unrestored FP/vector/control state, etc. Granted it's always been highly system-specific stuff, but that's the worst kind.

show 1 reply