3 ms·
> its use would come mainly from bounds checking That is where the memory safety comes from. But the use comes from things like: 1. strlen, strcat, etc., beco
by WalterBright 9y ago
> its use would come mainly from bounds checking
That is where the memory safety comes from. But the use comes from things like:
1. strlen, strcat, etc., become obsolete, replaced by far
more efficient code
2. looping over an array contents becomes straightforward
3. documenting the extra variable holding the dimension of the array becomes unnecessary
I.e. a host of benefits.