MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xr2jyh/moderncppvsoldcpp/19sco5hi5slwh/?context=3
r/ProgrammerHumor • u/Choice-Committee203 • 18d ago
323 comments sorted by
View all comments
Show parent comment
3
Rust does offer some guards against circular references…
6 u/sessamekesh 17d ago Sure does! Not any that would have prevented either of the two bugs I'm referring to (both would have been a circle of Rc in Rust) 1 u/GegeAkutamiOfficial 18d ago Yep, rust's strict rules make a lot of these types of bug prone harder to implement, you might still choose to, but you'll be fighting the compiler half of the way
6
Sure does! Not any that would have prevented either of the two bugs I'm referring to (both would have been a circle of Rc in Rust)
Rc
1
Yep, rust's strict rules make a lot of these types of bug prone harder to implement, you might still choose to, but you'll be fighting the compiler half of the way
View all comments
Show parent comment
3
u/quantinuum 18d ago
Rust does offer some guards against circular references…