2 ms·
The HotSpot JVM does indeed do escape analysis. The primary difference is that, in Go, you can put structs and arrays inside other structs. I tend to be skepti
by pcwalton 8y ago
The HotSpot JVM does indeed do escape analysis. The primary difference is that, in Go, you can put structs and arrays inside other structs.
I tend to be skeptical of the claims that are often made that Go data structures have different GC-relevant characteristics from those of Java, or especially C#.
- ychen306 8y agoCan you elaborate why being able to embed objects within another void this hypothesis?