News for hackers. Stuff that matters.
Re:For Better Computing, Liberate CPUs from Garbage Collection by babyloneleven on Thursday May 09, 2019 @01:05PM (#19870032)
Compilers of managed languages already do this optimization when they can prove that a variable has a static lifetime. Look up scape analysis.

The trouble is, this is hard to do for non-trivial code (and in the general case is uncomputable).

Re:For Better Computing, Liberate CPUs from Garbage Collection by babyloneleven on Thursday May 09, 2019 @01:06PM (#19870047)
I'm not finding how to edit, but, it's called escape analysis