News for hackers. Stuff that matters.
Re:Another go at Go failed by sixthloginorso on Wednesday January 08, 2014 @08:31AM (#7023318)
So... if you need any data structure other than an array, a hash table or a channel, you should skip Go and find some other language? That's kind of limited.
Re:Another go at Go failed by tptacek on Wednesday January 08, 2014 @08:57AM (#7023436)
No, the problem is that he needed Sets of many different kinds. It's perfectly straightforward to implement data structures in Golang; it's just hard to make them work for a variety of types simultaneously.
Re:Another go at Go failed by sixthloginorso on Wednesday January 08, 2014 @09:13AM (#7023525)
> it's just hard to make them work for a variety of types simultaneously.

That's sort of what you expect from any given implementation of a data structure and its related algorithms, though I imagine that some specialized implementations benefit from having them tailored to their concrete types. Examples, anyone, please?