News for hackers. Stuff that matters.
Re:Impressions of Go by tptacek on Tuesday July 23, 2013 @12:45PM (#6091181)
On the contrary, I found it significantly easier to write a custom container (a trie in my case) in Golang than in Ruby (which let's stipulate is pin-compatible with Python). In particular, Golang provides fine-grained control over memory layout, and is even expressive enough to implement allocators, both of which are practically impossible in Ruby.

It's true that Golang grants a very useful power to its builtin maps, which makes it rankle that you have to cast in and out of interface{} to make your own general-purpose container. But apart from the fact that interface{} is a stupid name, I don't find it much more painful to write general purpose containers in Golang than I found it to write templated containers in C++.

Re:Impressions of Go by pcwalton on Tuesday July 23, 2013 @12:48PM (#6091209)
Go does not provide fine-grained control over memory layout when you use interface{}.