Hacker News new | ask | show | jobs
by xdissent 4139 days ago
Russ Cox commented on a couple of the proposed fixes:

> Maybe after the compiler is converted to Go.

> I'm not willing to make major changes to escape analysis right now. I intend to ask someone to take a look at the whole thing and see whether it should be changed/rewritten/fixed/etc in a few weeks.

It sounds to me like there are some significant changes coming down the pipe anyway, which may or may not effect the current escape analysis behavior.

1 comments

Vyukov and others have made some allocation-related changes that went by today in https://twitter.com/golang_cls (small maps and string-related buffers can now sometimes be stack-allocated, variables captured by closures less often need to be moved to the heap, and some other language constructs that used to allocate now don't). It figures that some stuff wouldn't be approved for 1.5; other changes are going on, and some compromise mostly seems like the cost of the regular release schedule they maintain.