3 ms·
I never understand why people refer to reference counting as garbage collection. It waters down the term so much it becomes essentially useless. Because under t
by rowanG077 4y ago
I never understand why people refer to reference counting as garbage collection. It waters down the term so much it becomes essentially useless. Because under that assumptions basically every language has garbage collection in some shape or form.
- jstanley 4y agoC doesn't have garbage collection. Furthermore, pretty much every language has I/O, but that doesn't make the term useless.
- tsimionescu 4y agoThey do it because they serve the same purpose, though with different trade-offs. Note that this mostly reflects automatic reference counting, like you have in Python or Swift, not so much manual reference counting like std::shared_ptr or Rc.
- pjmlp 4y agoBecause we have studied the literature instead of what a random dude in tells at a coffee https://gchandbook.org/ https://gchandbook.org/ https://www.sigplan.org/ https://www.sigplan.org/ https://ieeexplore.ieee.org/Xplore/home.jsp https://ieeexplore.ieee.org/Xplore/home.jsp