4 ms·
It's a mix of three things: a) C++ compilers are complex, and vendors want to invest as little as possible in tooling, so C as they've always done it is. And yo
by detaro 5y ago
It's a mix of three things: a) C++ compilers are complex, and vendors want to invest as little as possible in tooling, so C as they've always done it is. And you can't indeed make use of all C++ features on limited platforms, which b) leads to people misrepresenting it as "C++ being useless" based on wrong impressions what C++ can and can't do and c) on extremely small targets indeed reduces how much value you get out of using C++ over C.
- pipeline_peak 5y agoI worked somewhere that claimed Try catch statements were too much for their hardware. It’s pretty apparent that C++ was designed to provide the largest amount of features possible. The trade off being a language that supports the largest amount of ISAs having less features.
- detaro 5y agoException handling is one of the things that often gets disabled, yes. Even on desktop apps you find people advocating that - and the nice thing is, you can disable it and it won't cost you anything.