is d-runtime non-gc safe?
    Andrei Alexandrescu 
    SeeWebsiteForEmail at erdani.org
       
    Tue Dec  6 19:34:32 PST 2011
    
    
  
On 12/6/11 8:11 PM, Sean Kelly wrote:
> 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?
A circular fixed-size list is possible with blocking on full list. There 
would be no allocation.
Andrei
    
    
More information about the Digitalmars-d
mailing list