News for hackers. Stuff that matters.
Re:Serious Chrome zero-day by mike_hearn on Thursday March 07, 2019 @05:44AM (#19327045)
GraalVM also has a way to do this - the 'unmanaged' C/C++ is upgraded to be automatically memory managed on the fly by compiling pointers into (gc'd reference, integer field offset) and then redirecting allocations to GCd heaps. There's more to it than that of course, but it means traditional C/C++ using new/delete and GCd languages can interop and coexist in the same process and heaps, and memory management errors in the unmanaged side are caught (cause VM termination).
Re:Serious Chrome zero-day by gpderetta on Friday March 08, 2019 @06:14AM (#19336602)
If you want GC there are available GCs for C++.