Hacker News new | ask | show | jobs
by pratk 1440 days ago
Looks interesting, thanks! Just curious, any plans for supporting SIMD, similar to gcc's vector extensions ?
1 comments

Vector types are built in, which you can do operations on, e.g.

    float[<4>] y = { 1, 2, 3, 4 };
    float[<4>] z = { 2, 2, 2, -100 };
    float[<4>] w = y + z;
It's not completely fleshed out with builtins yet, but will be.