Getting Started
No install step: the module ships inside the compiler. Import what you need:
.rnx
import { Vec4f } from "@std/simd";Quickstart
Copy this into a file or open it straight in the playground:
.rnx
import { Vec4f } from "@std/simd";
let d = new Vec4f(1.0, 2.0, 3.0, 4.0).dot(new Vec4f(2.0, 3.0, 4.0, 5.0));
print(d == 40.0);