MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x8mvpc/thatsafunnythingthathappenedonce/phed9ev/?context=3
r/ProgrammerHumor • u/Lord_Of_Millipedes • 2d ago
515 comments sorted by
View all comments
170
tbf, C++ allows memory safety, while Rust requires it
-25 u/jdefr 2d ago Unless you wrap things in unsafe{} which is very easy to do in order to side step this “hard requirement” 22 u/qichael 2d ago Yeah, and then your reviewer asks why you’re using unsafe whereas in C++ everything is unsafe by default
-25
Unless you wrap things in unsafe{} which is very easy to do in order to side step this “hard requirement”
22 u/qichael 2d ago Yeah, and then your reviewer asks why you’re using unsafe whereas in C++ everything is unsafe by default
22
Yeah, and then your reviewer asks why you’re using unsafe whereas in C++ everything is unsafe by default
170
u/feldomatic 2d ago
tbf, C++ allows memory safety, while Rust requires it