3 ms·
You'd be able to code memory bugs into an OS kernel written in Rust. It's the same problem as a JavaScript JIT - the fundamental operations it has to do are uns
by astrange 2y ago
You'd be able to code memory bugs into an OS kernel written in Rust. It's the same problem as a JavaScript JIT - the fundamental operations it has to do are unsafe, so it doesn't matter what language it's in.
Among other things, you need more secure hardware to make progress.
- yencabulator 2y agoAble to, sure. As probable? Definitely not. Practically all kernel exploits are accidents in buffer handling. (Getting machine-readable syscall descriptions that describe the rules for pointers to buffers and their lengths in ways that can get safe code generated from them would be a huge win, on top of "just use Rust".)