Menu

📰
0

Can Rust and the Host OS Enable Fine-Grained Resource Control per Module?

Reddit r/rust·u/Relative_Candle_2199·about 1 month ago
#fldADiAm
#rust#host#fine#grained#resource#article
Reading 0:00
15s threshold

This might be a complex or long-term idea, but is it possible in the future for a host operating system and the Rust/Cargo toolchain to support fine-grained control over resource access at the level of individual libraries or modules?

For example, could we define boundaries so that specific libraries/modules are restricted in what resources they can access (like memory, files, or system calls), similar to how the Linux uses the MMU, or how embedded systems use an Memory Protection Unit?

Read More