3 ms·
wasm sort of gives you c with bounds checking; so does cheri
by kragen 3y ago
wasm sort of gives you c with bounds checking; so does cheri
- pjmlp 3y agoNo it doesn't, there are no bounds checking inside linear memory segments, unless there is a magical C compiler generating tons of linear memory segments for each variable indivually. SPARC ADI, ARM MTE and CHERI are the only ones doing it right.
- kragen 3y agoit sounds like you're talking about wasm, since you say cheri is doing it right. wasm indeed only has one single linear memory for the entire 'module', roughly its equivalent of a unix process