4 ms·
It's great that finally bounds checking happened in C++ by (mostly) default. The only thing that's less great is that this got so much less upvotes than all th
by xiphias2 11mo ago
It's great that finally bounds checking happened in C++ by (mostly) default.
The only thing that's less great is that this got so much less upvotes than all the Safe-C++ languages that never really had the chance to get into production in old code.
- pjmlp 11mo agoIt has always been the default in compiler provided frameworks before C++98, like Turbo Vision, BIDS, OWL, MFC and so on. Unfortunately the default changed when C++98 came out, and not everyone bothered with providing at least hardening mode in debug builds, VC++ followed by GCC, or compilers in high integrity computing like Green Hills. Sadly the security and quality mentality seems to be a hard sell in areas where folks are supposed to be Engineers and not craftsmen.
- xiphias2 11mo agoIt's not just simply security / quality, but speed of iteration matters as well: the earlier bugs are found in optimized nodebug mode as well, the more I like to use C++ itself for developing.