Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It has setjmp and longjmp, so yeah.


As you are well aware, calling setjmp and longjmp doesn't make code non-position-independent in the way that Raymond is talking about, because setjmp saves the return address with which it was actually called. It doesn't rely on PC tables in the executable the way that (a common implementation of) C++ exception handling does. I mention this not to inform you of it (you already understand it better than I do) but to keep anyone else reading the thread from being misled.


Yeah like me. That was my understanding but I thought perhaps C had snuck in some high level exception handling that I didn’t know about.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: