3 ms·
Ironically escape analysis is the one thing Rust went above and beyond to solve in a novel way.
by Rusky 5y ago
Ironically escape analysis is the one thing Rust went above and beyond to solve in a novel way.
- throw10920 5y agoNo, Rust did not solve escape analysis - it was designed to constrain valid programs to those for which escape analysis is trivial (as evidenced by unsafe Rust, which doesn't have those constraints, and yet has nothing else enabling escape analysis). That's like saying that "C solved type inference" - no, it just constrained you to write your types by hand, and then did some checking of them afterward.