|
|
|
|
|
by woodruffw
263 days ago
|
|
> So if you rebuilt userland with Rust and had the same layout of shared libraries then you’d have a massive amount of unsafe code Sort of, but I think that’s misleading; you’d have a massive amount of safe code, scaffolded with unsafe ABI boundaries. That’s a problem, but it’s not really the same kind of attacker or fault surface as unsafe code in the libraries themselves. It’s also a wholly solvable problem in the sense that Rust could define a stable non-C ABI. There just hasn’t been an extraordinary need for that yet, since most people who want to build Rust code into shared objects do want a C ABI. |
|