# What is the advantage of Julia over Fortran?

**URL:** <https://discourse.julialang.org/t/what-is-the-advantage-of-julia-over-fortran/65964>\
**Category:** General Usage\
**Tags:** fortran\
**Created:** [August 6, 2021, 9:03pm UTC](https://discourse.julialang.org/t/what-is-the-advantage-of-julia-over-fortran/65964 "2021-08-06T21:03:32Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![genkuroki](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/genkuroki/32/18030_2.png) [@genkuroki](https://discourse.julialang.org/u/genkuroki)\
**Post date:** [August 7, 2021, 12:34pm UTC](https://discourse.julialang.org/t/what-is-the-advantage-of-julia-over-fortran/65964/18 "2021-08-07T12:34:55Z")

</div>

> [@CRquantum](#):
>
> does it [Julia] have performance advantage over Fortran?

> [@CRquantum](#):
>
> will it [Julia] replace Fortran or C/C++ in high performance area?

In my personal opinion, the right questions to be asked now are not “Does Julia have performance advantage over Fortran?”, but “Does Fortran have performance advantage over Julia?”, and not “Will Julia replace Fortran or C/C++ in high performance area?”, but “Do we need to stay in C/C++ or Fortran for high performance area?”

The correct answers to the right questions are “No” and “No”.

It is outdated to suspect that Fortran (or C/C++) is faster than Julia.

To the best of my understanding, when the code is written correctly, Julia and Fortran are about the same speed of computation. We cannot say that one is faster than the other.

See also

> [@Julia gets mentioned in an article about FORTRAN](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605):
>

> **[Simple summation 8x slower than in Julia](https://fortran-lang.discourse.group/t/simple-summation-8x-slower-than-in-julia/1171)**
>
> We did some comparison on a simple (single core) sum in Julia and Fortran: Here is the code in Julia: using LoopVectorization function f\_avx(N) s = 0.0 @avxt for i in 1:N s += sin(i) end s end @time r =...

---

_[View the full topic](https://discourse.julialang.org/t/what-is-the-advantage-of-julia-over-fortran/65964)._
