3 ms·
GC is the bubblesort of our era. I mean it seems to be a very inefficient way to solve a problem. I hope computer scientists will come up with something better
by logicallee 4y ago
GC is the bubblesort of our era. I mean it seems to be a very inefficient way to solve a problem.
I hope computer scientists will come up with something better than GC.
- scandum 4y agoIsn't that what Rust is all about?
- skelpmargyar 4y agoRust is for memory safety. GC software is a way to achieve some form of memory safety while also being much simpler and faster to write compared to Rust.
- adgjlsfhk1 4y agoHonestly I'm not sure. Modern GCs are pretty good, and manual memory management isn't a free lunch either. One major advantage of a GC is it can batch all the `free`s together which is a lot more efficient than the manual approach where you free objects individually in a pseudo-random order.