4 ms·
I wonder if this mechanism could also be used for bounds checking when accessing dynamically sized collections. That would be a boon for C/C++ as well as safe l
by dthul 5y ago
I wonder if this mechanism could also be used for bounds checking when accessing dynamically sized collections. That would be a boon for C/C++ as well as safe languages.
But I guess it can not because while the underlying allocation may have space for 100 objects, the high-level container might only have initialized the first 10 objects for example.
- pjmlp 5y agoMost likely that is the goal to combine it with MTE, as described on the article. By the way Solaris SPARC ADI has been doing it for a decade now (bounds checking).