Re:For Better Computing, Liberate CPUs from Garbage Collection
by Shikadi on Thursday May 09, 2019 @03:19PM
(#19871319)
That's what smart pointers/ref counting is for
Re:For Better Computing, Liberate CPUs from Garbage Collection
by tptacek on Thursday May 09, 2019 @03:52PM
(#19871684)
C++ is the flagship language for smart pointers and UAF memory corruption flaws are endemic to it.
Re:For Better Computing, Liberate CPUs from Garbage Collection
by rayiner on Thursday May 09, 2019 @05:52PM
(#19872801)
Made me think of this: https://googleprojectzero.blogspot.com/2019/04/virtually-unl...
What happens when that object is shared and still referenced from somewhere else? Now you have a use after free error waiting to happen.