# Unusual slow Julia code compared to C++?

**URL:** <https://discourse.julialang.org/t/unusual-slow-julia-code-compared-to-c/22987>\
**Category:** Performance\
**Created:** [April 10, 2019, 5:41am UTC](https://discourse.julialang.org/t/unusual-slow-julia-code-compared-to-c/22987 "2019-04-10T05:41:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [April 10, 2019, 6:06am UTC](https://discourse.julialang.org/t/unusual-slow-julia-code-compared-to-c/22987/3 "2019-04-10T06:06:27Z")

</div>

> [@KestutisMa](#):
>
> Is this normal?

This is impossible to say without a review of your code — you could facilitate that by [making a small, self-contained example](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757). But if you are just learning Julia, it is very likely that you could improve it a lot by carefully working through the [performance tips](https://docs.julialang.org/en/v1/manual/performance-tips/).

---

_[View the full topic](https://discourse.julialang.org/t/unusual-slow-julia-code-compared-to-c/22987)._
