Hacker News new | past | comments | ask | show | jobs | submit login

Some kind of capability system would be interesting, but to work within function level it would need some pretty sophisticated support from the type system.

On package level it might be easier? But then again you need to have quite fine-grained capabilities to describe what a package should be able to do. Of course, in Rust all unsafe code would need to be out (and it would be its own capability), but it still leaves exploiting the compiler bugs. For malicious changes that would of course be the vector to exploit and it might be very difficult to automatically detect them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: