r/ProgrammerHumor • • Jan 02 '22

Debugging Code Be Like.

58.4k Upvotes

283 comments sorted by

View all comments

Show parent comments

75

u/[deleted] Jan 02 '22

I think probably the most common reason for seemingly unrelated threads breaking is hidden shared state / aliasing, and race conditions, both of which Rust is good at preventing...

43

u/Numerlor Jan 02 '22

Rust won't do shit for race conditions, it can only prevent data races

0

u/[deleted] Jan 02 '22

[deleted]

10

u/BarbellJesus Jan 02 '22

Check out the rust book on data races and race conditions

https://doc.rust-lang.org/nomicon/races.html

0

u/[deleted] Jan 02 '22

[deleted]

1

u/AutoModerator Jul 03 '23
import moderation

Your comment has been removed since it did not start with a code block with an import declaration.

Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

For this purpose, we only accept Python style imports.

return Kebab_Case_Better;

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.