5 ms·
CHERI is undeniably on the rise. Adapting existing code generally only requires rewriting less than 1% of the codebase. It offers speedups for existing as wel
by indolering 9mo ago
CHERI is undeniably on the rise. Adapting existing code generally only requires rewriting less than 1% of the codebase. It offers speedups for existing as well as new languages (designed with the hardware in mind). I expect to see it everywhere in about a decade.
- smj-edison 9mo agoInteresting, what causes the speedup?
- saagarjha 9mo agoYou can skip some bounds checks and then get 50% slower because the hardware is not very powerful
- lowbloodsugar 9mo agoWe’re all using the pointer math functions in Rust and testing it with miri, right? Right?
- loeg 9mo agoThere's a big 0->1 jump required for it to actually be used by 99% of consumers -- x86 and ARM have to both make a pretty fundamental shift. Do you see that happening? I don't, really.
- turtletontine 9mo agoTbh I can imagine this catching on if one of the big cloud providers endorses it. Including hardware support in a future version of AWS Graviton, or Azure cloud with a bunch of foundational software already developed to work with it. If one of those hyper scalers puts in the work, it could get to the point where you can launch a simple container running Postgres or whatever, with the full stack adapted to work with CHERI.
- matu3ba 9mo agoCHERI on its own does not fix many of the side-channels, which would need something like "BLACKOUT : Data-Oblivious Computation with Blinded Capabilities", but as I understand it, there is no consensus/infra on how to do efficient capability revocation (potentially in hardware), see https://lwn.net/Articles/1039395/ https://lwn.net/Articles/1039395/. On top of that, as I understand it, CHERI has no widespread concept of how to allow disabling/separation of workloads for ulta-low latency/high-throughput/applications in mixed-critical systems in practical systems. The only system I'm aware of with practical timing guarantees and allowing virtualization is sel4, but again there are no practical guides with trade-offs in numbers yet.
- pjmlp 9mo agoI see this happening on ARM world, that is why ARM is working alongside CHERI folks, https://www.arm.com/architecture/cpu/morello https://www.arm.com/architecture/cpu/morello x86, well Intel has already messed up hardware memory tagging multiple times.