News for hackers. Stuff that matters.
Re:Gitoxide: Pure Rust Implementation of Git by ginsider_oaks on Thursday August 13, 2020 @09:23AM (#24143057)
is any rust code some way immune to unsafe blocks?
Re:Gitoxide: Pure Rust Implementation of Git by wizzwizz4 on Thursday August 13, 2020 @09:29AM (#24143116)
That's a little different. If you're running a C linter that statically guarantees safety, then it's comparable; otherwise, you're comparing mostly Safe Rust (with some Unsafe Rust in it) to Unsafe C.

Safe Rust is automatically immune to lots of these issues. Unsafe Rust isn't, but all of C is unsafe (unless you're using a safety-enforcing linter that only gives you access to a subset of the language).