Art and Garbage
Jan. 16th, 2018 04:37 pmArt is a pointer.
Classical art points to the reality is represents.
Impressionist art points to the Classical art.
Modern art points only to itself.
This means that any decent garbage collector (e.g., mark-and-sweep) should be able to move it to trash, reclaiming the space.
Indeed, this is what happened in 2015.
However, this achievement is not very common because many popular GCs used now rely on reference counting (e.g., Python & R).
After all, modern art points to itself, so its reference counter is 1, thus the sucky GCs cannot collect it.
Classical art points to the reality is represents.
Impressionist art points to the Classical art.
Modern art points only to itself.
This means that any decent garbage collector (e.g., mark-and-sweep) should be able to move it to trash, reclaiming the space.
Indeed, this is what happened in 2015.
However, this achievement is not very common because many popular GCs used now rely on reference counting (e.g., Python & R).
After all, modern art points to itself, so its reference counter is 1, thus the sucky GCs cannot collect it.