[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "No aliasing = no garbage collection"
In my opinion, garbage collection is an efficiency mechanism.
I think you can proof that without garbage collection you can
always use at least 50% of the computer's memory.
Memory for applications that need dynamic memory management
(typically PCs/workstations) is cheap.
Conclusion (assuming I remembered correctly that the proof can be done):
if you are not bothered with performance, use a garbage collector,
and save on memory budget, use virtual memory as well.
if you are bothered with performance, buy twice as much memory, and
do not use a garbage collector, nor virtual memory. Simply, use