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

Then there's the situation in industrial control systems where sometimes you really itch to do that, but you can't because the return statements mess up the tight timing :)



Can't you use stuff like gcc's __attribute__((always_inline)), or just straight-up C macros, for cases like those? Worst comes to worst, you can always use m4/cpp/some other preprocessor, although that does tend to hurt...


If the compilers you use have been updated this millennium, yes. However, that's a big if.




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

Search: