News for hackers. Stuff that matters.
Re:Rust Dependencies Scare Me by 0cf8612b2e1e on Friday May 09, 2025 @05:23PM (#43941003)
Is there anything in existence which has a version of this idea? It makes a ton of sense to me, but you are right that it would be practically impossible to do in a current language.
Re:Rust Dependencies Scare Me by martsa1 on Friday May 09, 2025 @06:02PM (#43941332)
Wasm + wasi let you define hard boundaries between components with explicit interfaces, might be loosely along these lines?
Re:Rust Dependencies Scare Me by kibwen on Friday May 09, 2025 @05:49PM (#43941232)
Yes, but you can't enforce this at the language level if your objective is security (at least not for natively-compiled languages). You need OS-level support for capabilities, which some OSes do provide (SeL4, Fuchsia). But if you're in a VM rather than native code then you can enforce capabilities, which is what Wasm does with WASI.
Re:Rust Dependencies Scare Me by Smaug123 on Friday May 09, 2025 @05:37PM (#43941138)
Re:Rust Dependencies Scare Me by crabmusket on Friday May 09, 2025 @07:20PM (#43941848)
Austral is a really cool experiment and I love how much effort was put into the spec which you've linked to. It explains the need for capabilities and linear types, and how they interact, really well.
Re:Rust Dependencies Scare Me by metaltyphoon on Friday May 09, 2025 @05:56PM (#43941278)
.NET Framework, windows only, (non .NET, aka .NET Core)
Re:Rust Dependencies Scare Me by EE84M3i on Saturday May 10, 2025 @02:06AM (#43943540)