Hacker News new | past | comments | ask | show | jobs | submit login

Regardless of whether it's faster, it's an extremely bad idea in a C program, for many of the reasons the author outlines.

It's UB so you are forever gonna be worrying about what weird behaviour the compiler might create. Classic example: compiler infers some case where the pointer is always NULL and then just deletes all the code that would run in that case.

Plus, now you have to do extremely sketchy signal handling.






Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: