# Article - How fast is your programming language

**URL:** <https://discourse.julialang.org/t/article-how-fast-is-your-programming-language/108405>\
**Category:** Offtopic\
**Created:** [January 5, 2024, 7:15pm UTC](https://discourse.julialang.org/t/article-how-fast-is-your-programming-language/108405 "2024-01-05T19:15:33Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [January 5, 2024, 9:13pm UTC](https://discourse.julialang.org/t/article-how-fast-is-your-programming-language/108405/9 "2024-01-05T21:13:02Z")

</div>

I get 1.95 sec. something like 24% speedup for the matmul if I run in the REPL (and add `@simd`), partial timing here:

```julia
@time a = matgen(n)
0.005693 seconds (2 allocations: 17.166 MiB)

@time c = matmul(n, a, b);
  1.932954 seconds (2 allocations: 17.166 MiB)

```

So it’s worth it to AOT compile at least that one. And the for loops need to be split in two, i.e. dual-for loop doesn’t take `@simd` but maybe should?

And I’m unclear why to I get 2, not one allocation each?

---

_[View the full topic](https://discourse.julialang.org/t/article-how-fast-is-your-programming-language/108405)._
