2 ms·
> GCC already has a fat-pointer subscript checking option, but nobody uses it My experience with adding extensions to C++ is that nobody will use them, not eve
by WalterBright 12y ago
> GCC already has a fat-pointer subscript checking option, but nobody uses it
My experience with adding extensions to C++ is that nobody will use them, not even the people who proposed the extension, unless it is adopted by the Standard. The same goes for C.
The feature I proposed for C has been in D since the beginning, and has a very strong track record of success - both in user acceptance and in eliminating bugs. Whether the runtime bounds checking is actually done or not is controlled by a compiler switch - but most users choose to leave it on.
- dbaupp 12y agoThere are a lot of GCC extensions that are not in the standard. https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html Things that are definitely used are __attribute__'s and labels-as-values.