Re:For Better Computing, Liberate CPUs from Garbage Collection
by unictek on Thursday May 09, 2019 @01:00AM
(#19865534)
Could this be applied to Chrome V8 for Javascript memory garbage collection?
[ Parent
| on HN ]
Re:For Better Computing, Liberate CPUs from Garbage Collection
by ben509 on Thursday May 09, 2019 @08:14AM
(#19867511)
That should be an ideal application. Usually the trouble with 3rd-party garbage collection is that it has to discern pointer vs. any other machine word. That's more of a problem with C; this is why the Boehm GC library calls itself "conservative". A runtime like V8 can follow a spec when it allocates memory so everything is properly marked.