3 ms·
Running without exceptions is one C idiom. RAII, operator-new, and many other C++ features break down without them.
by kevin_thibedeau 8y ago
Running without exceptions is one C idiom. RAII, operator-new, and many other C++ features break down without them.
- kazinator 8y agoObviously, I do not use RAII, operator new or exceptions in a code base that compiles as C or C++. Here let me note that I have not gone out of the way to disable anything in C++. I have not disabled EH in the compiler, or RTTI or anything. Yet, the executable size is close to the C one, and the performance is basically the same.
- jcelerier 8y ago> Running without exceptions is one C idiom well, did you know that for instance the windows C library was implemented in C++ ? and yet we don't see it throwing exceptions left and right.