Hacker News new | ask | show | jobs
by CraigJPerry 9 days ago
>> you'll begin to naturally decompose every for loop into these five steps

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...