3 ms·
https://web.archive.org/web/20250429065033/https://webassembly.github.io/spec/core/syntax/types.html https://web.archive.org/web/20250429065033/https://webassem
by flohofwoe 1y ago
https://web.archive.org/web/20250429065033/https://webassembly.github.io/spec/core/syntax/types.html https://web.archive.org/web/20250429065033/https://webassemb...
Values are hardwired to 128 bits which can be i8x16/i16x8/i32x4/i64x2 or f32x4/f64x2, so that already limits the 'feature surface' drastically.
IMHO as long as it covers the most common use cases (e.g. vec4 / mat4x4 floating point math used in games and a couple of common ALU and bit-twiddling operations on integers) that's already quite a bit better than having to fall back to scalar math.