Comment

Comment by CyberDildonics

Garbage collection just shifts some of the responsibility, which means that garbage collector dictates part of the algorithm.

When there are 'lock free' data structures that are just flipping pointers with compare and exchange instructions, they are essentially ignoring the storage of memory all together and hoping the garbage collection takes care of it, while optimally the data structure would confront the storage of data and organization of access in an integrated way.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton