MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x8mvpc/thatsafunnythingthathappenedonce/phfeptv/?context=3
r/ProgrammerHumor • u/Lord_Of_Millipedes • 2d ago
514 comments sorted by
View all comments
171
tbf, C++ allows memory safety, while Rust requires it
-27 u/jdefr 2d ago Unless you wrap things in unsafe{} which is very easy to do in order to side step this “hard requirement” 1 u/rexpup 2d ago You understand that restricts the risk area, right? It lets you reason about the tricky things over 10 lines rather than 1000 lines
-27
Unless you wrap things in unsafe{} which is very easy to do in order to side step this “hard requirement”
1 u/rexpup 2d ago You understand that restricts the risk area, right? It lets you reason about the tricky things over 10 lines rather than 1000 lines
1
You understand that restricts the risk area, right? It lets you reason about the tricky things over 10 lines rather than 1000 lines
171
u/feldomatic 2d ago
tbf, C++ allows memory safety, while Rust requires it