Re:Functional programming languages should be better at muta...
by eru on Thursday August 01, 2024 @12:08AM
(#41126062)
> Destructors with cascading deletions can take time bounded only by memory allocation, but you can solve that for instance by destroying them on a separate thread, or having a linked list of objects to be destroyed and destroying a constant number/memory size of them on each allocation.
You can run your garbage collector on a separate thread, too. Or use a real time garbage collector.
You can run your garbage collector on a separate thread, too. Or use a real time garbage collector.