News for hackers. Stuff that matters.
Re:Go 1.1 performance improvements by cwzwarich on Tuesday May 21, 2013 @10:38AM (#5743891)
It wasn't obvious to me looking at the source of te actual GC implementatiob whether it avoids the C stack frames between Go frames. If it does then they don't have much to worry about.
Re:Go 1.1 performance improvements by cmccabe on Tuesday May 21, 2013 @10:22PM (#5748436)
I'm not sure about stack frames, but I do remember a lot of discussion about golang using a single contiguous area of virtual memory for its heap. Since C wouldn't be using that same address range, there would be no potential issues where someone would put a Go object on the C heap for a long time and have that result in implicit GC pinning. C stack frames may be an issue (I haven't checked either) but only for upcalls from C, which seem rare.