[destructors] Getting D ready for prime time

Michel Fortin michel.fortin at michelf.com
Wed Sep 29 09:53:43 PDT 2010


On 2010-09-29 11:01:43 -0400, Justin Johansson <no at spam.com> said:

> To cut to the chase, what are the biggest issues/
> showstoppers/etc that stand in the way for D to attract
> a prime-time audience?

Everyone is going to have his pet issue. Here's mine:

<http://d.puremagic.com/issues/show_bug.cgi?id=4621>

In a language that claims to be good a concurrency and wall you from 
race conditions, the current destructor design seriously doesn't cut 
it. Not only can it easily let slip low-level races and GC-memory 
deallocation races (important for @safe mode), such races already have 
slipped by and are laying unfixed in Phobos:
<http://d.puremagic.com/issues/show_bug.cgi?id=4624>

Since a fix to the destructor design is going to break some 
previously-written destructors somewhere, it's is important that it be 
fixed sooner rather than later.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list