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

OK you can write a handrolled loop almost perfectly. /Why/ are you writing ten years worth of loops - something a computer can do for you?


Can it? I'm working on embedded systems, in C++, with C++11-or-earlier compilers. Sometimes I need control of the exact order things happen in. Sometimes I need an action to occur either zero or one times, on the first available entry. Always I need to write code that my coworkers can read.

How much of that can a C++11 compiler do for me?




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

Search: