3 ms·
> I would otherwise be interested in having a discussion about static analysis and hearing why you think it would not solve the problem Stack allocation isn't
by pcwalton 12y ago
> I would otherwise be interested in having a discussion about static analysis and hearing why you think it would not solve the problem
Stack allocation isn't in the semantics of Go, so that's a pretty weird thing to use a basis of a static analysis. It's also not sound because of interfaces or closures. You would want something more like "fully by-value data with no pointers in it, no interfaces, no closures".
- brandonbloom 12y agoNot to mention no arrays or slices! This burned me pretty hard during my first week with Go.