Andrei's list of barriers to D adoption

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 6 01:24:16 PDT 2016


On Monday, 6 June 2016 at 08:18:20 UTC, Russel Winder wrote:
> On Mon, 2016-06-06 at 05:28 +0000, ketmar via Digitalmars-d 
> wrote:
>> On Monday, 6 June 2016 at 05:13:11 UTC, Daniel Kozak wrote:
>> > You can still unregister your critical thread from GC.
>> 
>> exactly. that's what i did in my sound engine, and it works 
>> like a charm: i can enjoy hiccup-less ogg replaying on the 
>> background while the main code enjoys GC.
>
> This should be marketed as a major feature of D: the language 
> with a GC for those situations where you want it, and manual 
> memory management for thse cases where you do not want a GC.

it is even better: i do *zero* manual memory management in 
Follin! synthesizers are simple classes, and they are 
automatically anchored with __gshared variables (when user is 
creating a new replay channel). so i actually enjoying the best 
things from both worlds! ;-)


More information about the Digitalmars-d mailing list