Re:GERT: Run Go on Bare Metal ARMv7
by lopatin on Monday June 19, 2017 @10:58PM
(#14591906)
Interfaces allow polymorphic coding, and they support stack allocated data structures last I checked.
[ Parent
| on HN ]
I didn't say you couldn't make polymorphic calls in Go. I said that they don't mix well with relying on escape analysis to avoid tracing GC.
Oh I see what you mean. Yeah forcing vars to actually be stack allocated can be challenging when using interfaces everywhere. What are the Go authors' opinions on improving escape analysis?
I think it's a design issue that can't be truly solved, period. You could try stuff like k-CFA I guess.
What is k-CFA ?