top | item 46043624

(no title)

marhee | 3 months ago

Concurrent programming is hard and has many pitfalls; people are warned about this from the very, very start. If you then go about it without studying proper usage/common pitfalls and do not use (very) defensive coding practices (violated by all examples) then the main issue is just naivity. No programming language can really defend against that.

discuss

order

gf000|3 months ago

You are completely dismissing language design.

Also, these are minimal reproducers, the exact same mistakes can trivially happen in larger codebases across multiple files, where you wouldn't notice them immediately.

LtWorf|3 months ago

The whole point of not using C is that such pitfalls shouldn't compile in other languages.