Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Guarding Against Broken Encapsulation (sunfishcode.online)
10 points by goranmoomin on July 2, 2022 | hide | past | favorite | 1 comment


The OS's encapsulation barrier is a process, not a crate, hence no automatic crate-level boundaries for OS calls.

AFAICT the idea is that stuff from different crates should be insulated from each other by the compiler, and only made to interact by explicit programmer's intent. If a crate is dedicated to provide interaction with specific OS calls, this becomes an interesting problem.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: