Marisa
May 22 12 tweets 3 min read
I see the RC vs GC debate once every 3 months, here's my 3 cent:
0: RC is slower then GC
1: C++/Rust does not use RC, it use RAII
2: RAII is obviously bad for managing memory. (...) RC is slower then GC:
RC force you to go with malloc/free which use a free list (instead of bump pointer allocators), and every access now come with an inc/dec pair, alongside a if that goes bothway often. It is very slow. (...)