Coolest D features

Jeff Nowakowski jeff at dilacero.org
Wed Dec 27 12:49:38 PST 2006


Walter Bright wrote:
> I think the problem is that Java is just lacking in some needed features 
> - like a full set of basic types, simple aggregates, out parameters, 
> etc. The alternatives are computationally expensive, and so the 
> optimizer has a lot of work to do to reverse engineer them and figure 
> out that all the programmer was doing was a workaround for a POD stack 
> aggregate.

Could you expand on the above items?  What basic types are missing? 
Does a "simple aggregate" refer to structs/tuples?  What does POD stand 
for, and what is a POD stack aggregate?  Could you show a code example 
in D that performs badly in Java?  Pardon my ignorance.

-Jeff



More information about the Digitalmars-d mailing list