logoalt Hacker News

jeffbeeyesterday at 9:12 PM2 repliesview on HN

This seems to have little to do with Go's facilities. Any concurrent program has hazards like these.


Replies

closeparenyesterday at 9:46 PM

In my experience, shared memory instills the appropriate fear and caution, while the apparent simplicity of channels encourages novice Go programers to take on concurrency projects beyond their abilities and without due care. Been on both the submitter and reviewer side of that plenty of times in 10 years.

treydtoday at 3:46 AM

Rust's concurrency libraries leverage the type system to make these issues much harder to encounter.