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

I'm curious as to if there's a tool that can map the sections of code that are optimized away by the compiler, and feed that back to the developer; thus code like this:

    for (int a = 0; a < 10000; a++);
would emit a message at compile time allowing the human to take an additional look at the code and determine its usefulness. ultimately the code would be removed or refactored just to stop the nagging.


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

Search: