Hacker News new | past | comments | ask | show | jobs | submit login

Most arrays do not have declared bounds, that's why a runtime check is necessary.



Bounds for storage are known when it is allocated. CHERI puts those bounds into the pointers (which double in size so they can fit), and has the processor do the runtime checks at every dereference. So, same effect as the proposal you reference, AFAICS -- just without altered syntax.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: