Comment Comment by CraigJPerry >> you'll begin to naturally decompose every for loop into these five stepsDoes zig have auto vectorisation? I'm thinking that if you write the code in a vector friendly way, then the compiler can do the boiler plate for youhttps://llvm.org/docs/Vectorizers.htmlhttps://inside.java/2025/08/16/jvmls-hotspot-auto-vectorizat... parent CraigJPerry 3 months ago
Does zig have auto vectorisation? I'm thinking that if you write the code in a vector friendly way, then the compiler can do the boiler plate for you
https://llvm.org/docs/Vectorizers.html
https://inside.java/2025/08/16/jvmls-hotspot-auto-vectorizat...