What remains to be done for D2?

Nick Sabalausky a at a.a
Mon Jun 13 22:24:25 PDT 2011


"Petr Janda" <janda.petr at gmail.com> wrote in message 
news:it6npg$6l8$1 at digitalmars.com...
> Hi,
>
> Can someone please explain what needs to be done (other than fixing
> the plethora of bugs) to call D2 final? And if someone can provide
> an approximate estimate of when?
>

I already find D2, even with occasional bugs, to be *far* better than 
dealing with C++.

And no language is ever "final" unless it's a dead language. D2's already 
ready for production use IMO, and many people are already using it 
professionally.

> uncertainty of how exactly will non-garbage
> collected classes work makes me a bit cautious.(could someone please
> explain too)
>

Basically you can use either structs (which are not heap-allocated unless 
you specifically ask for them to be) or you use "emplace". For emplace, you 
allocate your own chunk of memory however you want, and then pass it to the 
emplace function in Phobos which will construct your object right there "in 
place" instead of allocating new GC'ed memory. Somebody else can explain the 
details better than I can, I've never actually used emplace myself.




More information about the Digitalmars-d mailing list