If Rust is pointless because sometimes you need unsafe blocks, then memory protection is also pointless because sometimes you have to switch to ring 0.
-
-
Ring 3 is a monad.
-
x86 protection rings do look like a burrito actuallypic.twitter.com/17flN5FBnp
- 3 more replies
New conversation -
-
-
So... could a rust compiler backend translate rust code with unsafe blocks to a userspace program and kernel modules, with syscalls between them?
-
It was an analogy, not an implementation strategy. Rust can already compile safe and unsafe code with calls between them, and enforce safety. The difference is it enforces safety by static analysis rather than virtual memory.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.