← Back to context

Comment by Meneth

12 hours ago

And the majority of the Rust standard library uses `unsafe`.

Prove it. Show me the stats that the standard library is over 50% unsafe.

  • "Over 50%" only holds if the statement is intended to be binary. It may be that he considers direct use, no use, and transitive use to be all different. In which case it is possible that the majority[1] use unsafe, even if more than 50% does not.

    [1] The cult of the orange man would call this a plurality, which may be what has tripped you up, but the civilized world calls it a majority.