News for hackers. Stuff that matters.
Re:Can we get the benefits of transitive dependencies withou... by yencabulator on Wednesday January 29, 2025 @06:12PM (#42872559)
In theory Rust where you don't allow unsafe can do that. (Reality is not perfect: https://github.com/rust-lang/rust/issues/25860)

Theseus OS is a research project that created single address space kernel that loads dynamic libraries written in safe-only Rust as "untrusted entities". Compiled with a trusted compiler that forbids unsafe. If they have no access to unsafe, and you're not giving them functions to link to that would hand them these a-capability-if-you-squint objects, they're supposedly sandboxed.

https://www.theseus-os.com/

There are no comments on this comment yet.