r/rust • u/TheProgrammar89 • Jul 26 '19
Is this comment about the reference counting performance in Rust accurate?
/r/ProgrammerHumor/comments/b274zp/oof/eirvecs?context=3
48
Upvotes
r/rust • u/TheProgrammar89 • Jul 26 '19
View all comments
1
u/PM_ME_UR_OBSIDIAN Jul 26 '19
State-of-the-art reference counting is slower than state-of-the-art tracing garbage collection. But in 99.9% of cases it doesn't matter, both are fast enough. Otherwise you want to work with arenas/object pools, and that's no worse in Rust than in any other language.