2 ms·
Cases when you might prefer a garbage collected programming language rather than Rust: - When garbage collection is the optimal or near optimal memory allocati
by trealira 3y ago
Cases when you might prefer a garbage collected programming language rather than Rust:
- When garbage collection is the optimal or near optimal memory allocation pattern for your program.
- When you care less about minimizing memory usage than minimizing implementation complexity, development speed, and compile time speed.
- When your program deals with cyclic data structures.
- When you want green threads (like Goroutines)
I can say that I would rather use Lisp to write any program that manipulates tree or graph structures simply because it has a garbage collector.