News for hackers. Stuff that matters.
Re:I’m joining the Go team at Google by weberc2 on Tuesday September 27, 2016 @09:50AM (#12589553)
C# doesn't have escape analysis, but it has stack-allocated value types. Java doesn't have stack-allocated value types (yet), but it has escape analysis. It seems a lot harder to me to reason about escape analysis without value types, and I have no idea what happens in C# if you take a reference to a value type (i.e., is it moved to the heap?).

I never meant to imply escape analysis was somehow perfect; only that it is (mostly) easy to reason about.

There are no comments on this comment yet.