Vision for the D language - stabilizing complexity?

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 15 13:58:06 PDT 2016


On 15/07/16 22:06, Walter Bright wrote:
> 2. memory allocation - D programmers can use any of C++'s allocation
> methods

Do enlighten me how to use intrusive reference counting in D. I am quite 
interested in the answer. Or, for that matter, tracking lifetime through 
an external linked list with an intrusive node structure. The first is 
impossible due to const casting rules, and the second adds the 
additional problem of being completely thwarted by D's move semantics.

This is before mentioning how, unlike in D, alternate allocators are a 
fundamental part of C++'s standard library, or how it is not possible to 
throw exceptions without using the GC.

>
> I think your argument there is completely destroyed :-)
>

I do not understand the joy both you and Andrei express when you think 
you have "won" an "argument". This gives me the feeling that I'm not 
part of a process designed to make the language better, but rather part 
of an argument meant to prove to me that the language is fine the way it 
is. Not a great feeling, and not something that fosters confidence in 
the language's future direction.

Shachar


More information about the Digitalmars-d mailing list