News for hackers. Stuff that matters.
Re:Java vs. Go performance by sacado2 on Tuesday April 28, 2015 @10:29AM (#9452595)
Maybe I'm wrong, but I don't know how you can say you want, say, a list of objects of class Foo be in contiguous slots of memory, rather than having a list of references to objects. Because the latter is very cache-unfriendly. In go, you can say whether you want a []Foo or a []*Foo
Re:Java vs. Go performance by lmm on Wednesday April 29, 2015 @03:14AM (#9456854)
You can do that "by hand" with buffers (and the HFT guys do) but yeah it's not easy or fun. C#-style struct types are supposedly coming in the next version.