News for hackers. Stuff that matters.
Re:Proposed New Go GC: Transaction-Oriented Collector by giovannibajo1 on Friday June 24, 2016 @01:21PM (#11971661)
Go already allocates on the stack anything it can prove it doesn't leave it. I don't see much work going on on escape analysis and I hope they will improve it.

There was a promising proposal document, with a couple of interesting goals, but I guess it was abandoned: https://docs.google.com/document/d/1CxgUBPlx9iJzkz9JWkb6tIpT...

Re:Proposed New Go GC: Transaction-Oriented Collector by twotwotwo on Friday June 24, 2016 @02:23PM (#11972171)
Nah, some of those things went in. I remember seeing a change to keep small string/byte slices' bytes and the smallest size map on the stack sometimes now, for example. https://twitter.com/golang_cls posts a selection of change discussions if you like this kind of stuff. The test/escape_* tests in the Go source tree show what escape analysis is expected to do and not do. Dmitry Vyukov, the author of the doc you linked, worked on a lot of the changes he was talking about; impressed with the range of his contributions (also including the race checker and go-fuzz).