Re:Computer Language Benchmarks Game – Rust vs. Go
by TheHydroImpulse on Wednesday December 24, 2014 @12:11AM
(#8791639)
Yes, escape analysis does tend to eliminate some unnecessary heap allocations but they're specifically isolated to a single subroutine (it's better than not having it). Whereas with Rust, you can safely pass around references to stack allocated memory to other subroutines, given proper lifetimes.
[ Parent
| on HN ]
There are no comments on this comment yet.