> which I'm pretty sure beats both Julia and Mojo
Sometimes "showing the code" is not enough. Show me the benchmark.
Sometimes "showing the code" is not enough. Show me the benchmark.
The only other explanation is if you ran the non-simd Julia version under a single thread.
Without it, Julia starts single threaded, which means the code does all this work to enable multithreading and then doesn't get to benefit from it.