Per thread heap, GC, etc.

Markk markus.kuehni at triviso.ch
Fri May 14 15:30:53 UTC 2021


On Friday, 14 May 2021 at 15:21:30 UTC, Ola Fosheim Grøstad wrote:
> On Friday, 14 May 2021 at 15:00:20 UTC, Markk wrote:

> Yes, the problem is that spinning up a new thread is costly, 
> and in order to get the benefits of "no final collection" the 
> thread should be short lived.

I think thread pooling (along with the scoped release I 
described) and/or D's fibers address all of these concerns in 
very elegant ways.

Again, D is already very, very close.

_Mark


More information about the Digitalmars-d mailing list