Youki: A container runtime written in Rust
1–5 of 5 posts
Re: Youki: A container runtime written in Rust
#2One main reason for using rust is safety and there is a lot of unsafe rust code in the repo.
Re: Youki: A container runtime written in Rust
#3I wanna know why... One main reason for using rust is safety and there is a lot of unsafe rust code in the repo.
This aids both auditing and also targeting your work to reduce it if desired.
Re: Youki: A container runtime written in Rust
#4I wanna know why... One main reason for using rust is safety and there is a lot of unsafe rust code in the repo.
loc says there's 28,277 lines of Rust code. I count 48 instances of using unsafe, and two instances of defining an unsafe function. The vast majority seems to be stuff like calling c apis like fork, setrlimit, and such. That doesn't strike me as "a lot" personally.
Re: Youki: A container runtime written in Rust
#5I wanna know why... One main reason for using rust is safety and there is a lot of unsafe rust code in the repo.