# Simple summation 8x slower than in Julia

**URL:** https://fortran-lang.discourse.group/t/simple-summation-8x-slower-than-in-julia/1171
**Category:** Uncategorized
**Created:** [May 7, 2021, 8:47pm UTC](https://fortran-lang.discourse.group/t/simple-summation-8x-slower-than-in-julia/1171 "2021-05-07T20:47:48Z")
**Posts on this page:** 1
**Showing post:** 88

<div class="post-metadata">

### Author: ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)
#### Post date: [June 30, 2021, 2:06pm UTC](https://fortran-lang.discourse.group/t/simple-summation-8x-slower-than-in-julia/1171/88 "2021-06-30T14:06:11Z")

</div>

@oscardssmith, no doubt as a user I would like to see exactly how the compiler implements intrinsics and contribute to its implementation. I think Fortran intrinsic math functions should be written in Fortran and the Fortran compiler(s) should be able to optimize Fortran code so well, that you can write them in Fortran. I suggested something along those lines in: [Fortran runtime math library](https://fortran-lang.discourse.group/t/fortran-runtime-math-library/755), but it wasn’t received well. I still think it’s a good idea and the way to go for LFortran, and it is still my goal.

---

_[View the full topic](https://fortran-lang.discourse.group/t/simple-summation-8x-slower-than-in-julia/1171)._
