Hacker News new | ask | show | jobs
by pron 4027 days ago
Why do you think generics are more relevant for concurrent data structures?
1 comments

Because "programs don't need more than one type of dictionary, so the language can just hard code one implementation in" is at least a defensible position in a single-threaded setting (although I don't agree with it), but it definitely isn't in a scalable parallel setting.
Yeah. Go. The concurrent language with a single, mutable, thread-unsafe dictionary implementation.