| ▲ | suddenlybananas 5 hours ago | ||||||||||||||||||||||
I think beginner programmers are unlikely to use unsafe when learning rust but people coming from c or c++ who are beginners at rust might use unsafe all over the place. | |||||||||||||||||||||||
| ▲ | bluGill 5 hours ago | parent [-] | ||||||||||||||||||||||
Exactly - we have been using C or C++ for decades and most of us have a lot of experience. We think like programmers in the languages meaning we often do things that Rust won't allow without unsafe. A small percent of the time that is the right thing (which is why Rust have unsafe), but very often there is a Rust way that is just as performant if only we knew how to think like Rust programmers. | |||||||||||||||||||||||
| |||||||||||||||||||||||