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

> C++ exceptions have huge overhead when actually thrown

Which is why exceptions should never really be used for control flow. In our code, an exception basically means "the program is closing imminently, you should probably clean up and leave things in a sensible state if needed."

Agree with everything else mostly. C/C++ being a "thin layer on top of hardware" was sort of true 20? 30? years ago.



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

Search: