Stdle #16 · simd · 2026-06-22
What does this Zig snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const std = @import("std");pub fn main() void { const v = @Vector(4, i32){ 2, 4, 6, 8 }; std.debug.print("{d}\n", .{@reduce(.Max, v)});}SIMD