Tasks, actors and garbage collection
James Lu
jamtlu at gmail.com
Thu Apr 29 01:24:27 UTC 2021
On Tuesday, 20 April 2021 at 09:52:07 UTC, Ola Fosheim Grøstad
wrote:
> As computer memory grows, naive scan and sweep garbage
> collection becomes more and more a burden.
>
> Also, languages have not really come up with a satisfactory way
> to simplify multi-threaded programming, except to split the
> workload into many single-threaded tasks that are run in
> parallel.
>
> It seems to me that the obvious way to retain the easy of use
> that garbage collection provides without impeding performance
> is to limit the memory to scan, and preferably do the scanning
> when nobody is using the memory.
So region-based memory management with per-region GC?
More information about the Digitalmars-d
mailing list