primitive vector types

bearophile bearophileHUGS at lycos.com
Thu Feb 19 12:31:49 PST 2009


Bill Baxter:
> I think it has and no one came up with a reason why these can't be
> library types.

Recently I have discussed about this with the LDC main designer, my idea was to to have something like

Vect!double, 2) v1;
Vect!(float, 4) v2;

And then make LDC use LLVM intrinsics for the operations on them. So I think with some intrinsics most of that can be just a library.

Bye,
bearophile



More information about the Digitalmars-d mailing list