2 ms·
There are smart pointer libaries, and also implementing ref counting is much more straightforward than in C++ because the type system knows whether data is bein
by mhh__ 10y ago
There are smart pointer libaries, and also implementing ref counting is much more straightforward than in C++ because the type system knows whether data is being shared or not.
I should add that the GC actually works perfectly fine for normal work, it justs not up to the competition (Partly because of having to work with traditional dynamic memory).