5 ms·
One interesting thing which folks might not be aware of - most objects in Blink (Chromium rendering engine) are GC'd: https://v8.dev/blog/high-performance-cpp-g
by bfgeek 3y ago
One interesting thing which folks might not be aware of - most objects in Blink (Chromium rendering engine) are GC'd:
https://v8.dev/blog/high-performance-cpp-gc https://v8.dev/blog/high-performance-cpp-gc
This is in part due to lots of objects having strong references from JS objects, and the complexity in dealing with already having a GC with reference counting techniques.
Additionally its much harder to introduce UAFs & Type confusion bugs, but also has interesting performance implications (not as simple as GC is slow - a lot of the time GC'ing objects can make things faster).