is d-runtime non-gc safe?

Sean Kelly sean at invisibleduck.org
Tue Dec 6 18:11:02 PST 2011


No. Message-passing allocates a block of memory to transport the message. Even with a free-list there may be an occasional allocation. I could look into using an array instead of a linked list, but that would mean memmoves. In receive. 

Sent from my iPhone

On Dec 5, 2011, at 12:40 PM, Tobias Pankrath <tobias at pankrath.net> wrote:

>> Right - thanks for the hint!
>> 
>> That would leave the following rules for real-time audio code in D:
>> 
>> [snip]
> 
> What's about message passing? Is message passing hard real time ready?


More information about the Digitalmars-d mailing list