Skynet 1M Fiber microbenchmark in D

Martin Nowak code at dawg.eu
Fri Oct 20 23:35:13 UTC 2017


On Wednesday, 18 October 2017 at 12:32:31 UTC, Nordlöw wrote:
> Further, are we forced to use the GC for Fiber allocation or 
> can a sub-class of Fibers implement its own allocation strategy?

You could use std.typecons.scoped!Fiber, though it'll easily 
overflow your stack.
Unfortunately Scoped doesn't seem to work with refCounted atm.


More information about the Digitalmars-d-learn mailing list