Unofficial wish list status.(Mar 2009)

Jarrett Billingsley jarrett.billingsley at gmail.com
Sat Feb 28 19:58:15 PST 2009


On Sat, Feb 28, 2009 at 7:55 PM, Tim M <a at b.com> wrote:
>
> Who's idea was the vectorization? Seems very usefull but not sure if really
> like the syntax. Wouldn't it be simpler to have unordered attribute for all
> kinds loops that the compiler can use?
>

D already has some simple vectorization features:

int[] a = [1, 2, 3, 4, 5];
auto b = a[] + 5; // [6, 7, 8, 9, 10]
auto c = a + b; // [7, 9, 11, 13, 15]



More information about the Digitalmars-d mailing list