Re:Getting Past C
by steveklabnik on Wednesday January 04, 2017 @01:41AM
(#13316167)
This is more than escape analysis, this is removing the GC and associated runtime bits entirely.
Escape analysis may not use the GC for those variables, but it is still a pervasive runtime cost in both senses unless it's totally gone.
IIUC there's always some tagging or bit depth loss due to the use of GC ?
Yes, but making it run less also helps reducing the cost.
Java, .NET, Go, ML and Lisp compilers.
Escape analysis allows to do that, even if just in certain special cases.
Plus the more one uses value types and less heap, the GC needs to work less, specially if we take languages like Modula-3 into this mix.