On Sun, 29 Dec 2013 17:54:51 +0000, Ola Fosheim Grøstad wrote:

> C is so barebones that you can do your own coroutines without language
> support if you wish.

You can do that in D too. core.thread.Fiber is implemented in D (with a 
bit of inline assembly), without any special language support.

> The GC trash cashes when it kicks in. 

It can only kick in on allocation. In parts of your code where latency is 
crucial, just avoid allocating from the garbage collected heap.

Reply via email to