top | item 46457041 (no title) bmandale | 2 months ago The checked variant just calls the unchecked, and the panicking variant calls the checked variant. They all need to call unsafe code. See here for details: https://doc.rust-lang.org/nomicon/borrow-splitting.html discuss order hn newest Cyph0n|2 months ago Then you misunderstand what unsafe means in Rust. Every single Rust binary needs to eventually call unsafe code at some layer of the callstack.Is creating a TCP socket using stdlib functions unsafe? How about writing to a file? Or acquiring a mutex?I would suggest doing some more reading before chiming in here :) bmandale|1 month ago You have totally misunderstood what the person you are talking with means by unsafe. Perhaps you should resolve that prior to such condescensions. load replies (1)
Cyph0n|2 months ago Then you misunderstand what unsafe means in Rust. Every single Rust binary needs to eventually call unsafe code at some layer of the callstack.Is creating a TCP socket using stdlib functions unsafe? How about writing to a file? Or acquiring a mutex?I would suggest doing some more reading before chiming in here :) bmandale|1 month ago You have totally misunderstood what the person you are talking with means by unsafe. Perhaps you should resolve that prior to such condescensions. load replies (1)
bmandale|1 month ago You have totally misunderstood what the person you are talking with means by unsafe. Perhaps you should resolve that prior to such condescensions. load replies (1)
Cyph0n|2 months ago
Is creating a TCP socket using stdlib functions unsafe? How about writing to a file? Or acquiring a mutex?
I would suggest doing some more reading before chiming in here :)
bmandale|1 month ago