Skip to content

vector128

The vector128 is a platform-agnostic 128-bit vector type keyword. It maps to the appropriate SIMD register type for the target architecture: xmm on x86/x64 or neon on ARM64.

Syntax

vector128 simd = {}; // immutable
var vector128 simd = {}; // mutable

Example Code

var vector128 a = {};
var vector128 b = {};
var vector128 result = {};

// Platform-independent SIMD operations on 128-bit vectors