What's missing to make D2 feature complete?

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 24 13:01:09 PST 2014


On Wednesday, 24 December 2014 at 19:59:31 UTC, Ola Fosheim 
Grøstad wrote:
> On Wednesday, 24 December 2014 at 17:46:39 UTC, Matthias 
> Bentrup wrote:
>> Do you propose any changes to the language syntax for
>> auto-vectorization and whole program optimization ?
>
> You mean semantics.
>
>> As far as I
>> can see, those are compiler features, they are not related to 
>> the language syntax/semantics at all.
>
> How you structure an array of structs affects performance. What 
> you do in loops affects ability to auto vectorize. How will the 
> compiler know how to lay out arrays of structs if you don't 
> have whole program optimization? How can you be maximize the 
> ability to vectorize processing if you don't deliberately 
> design for it? It affects language design, library design and 
> application architecture.

Languages like Chapel and X10 are already better candidates in 
the HPC community, unless D inherits the same features.

--
Paulo


More information about the Digitalmars-d mailing list