New

The latest blog posts to take off on Hacker News. 5,635 posts.

Programming Languages
Any year
1282

Let's write a setjmp

Yesterday I wrote that setjmp is handy and that it would be nice to have without linking the C standard library. It’s conceptually simple, after all. Today let’s explore some differently-portable implementation possibilities with distinct trade-offs. At the very least it should illuminate why setjmp sometimes requires…