News for hackers. Stuff that matters.
Re:Thoughts on Go vs. Rust vs. Zig by disappoint on Friday December 05, 2025 @02:43AM (#46157750)
And it can easily be more than 5%, since some projects both have lots of large unsafe blocks, and also the presence of an unsafe block can require validation of much more than the block itself. It is terrible of you and overall if my understanding is far better than yours.

And even your argument taken at face value is poor, since if it is much harder, and it is some of the most critical code and already-hard code, like some complex algorithm, it could by itself be worse overall. And Rust specifically have developers use unsafe for some algorithm implementations, for flexibility and performance.

Re:Thoughts on Go vs. Rust vs. Zig by aw1621107 on Friday December 05, 2025 @06:44AM (#46159996)
> since if it is much harder, and it is some of the most critical code and already-hard code, like some complex algorithm, it could by itself be worse overall.

(Emphasis added)

But is it worse overall?

It's easy to speculate that some hypothetical scenario could be true. Of course, such speculation on its own provides no reason for anyone to believe it is true. Are you able to provide evidence to back up your speculation?

Re:Thoughts on Go vs. Rust vs. Zig by steveklabnik on Friday December 05, 2025 @01:19PM (#46165089)
Even embedded kernels can and regularly do have < 5% unsafe code.