# Performance comparison, Julia is a slower than Mojo, am I doing something wrong?

**URL:** <https://discourse.julialang.org/t/performance-comparison-julia-is-a-slower-than-mojo-am-i-doing-something-wrong/103870>\
**Category:** Performance\
**Tags:** question, mojo\
**Created:** [September 15, 2023, 1:47am UTC](https://discourse.julialang.org/t/performance-comparison-julia-is-a-slower-than-mojo-am-i-doing-something-wrong/103870 "2023-09-15T01:47:31Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![gganapat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gganapat/32/52988_2.png) [@gganapat](https://discourse.julialang.org/u/gganapat)\
**Post date:** [September 17, 2023, 5:17am UTC](https://discourse.julialang.org/t/performance-comparison-julia-is-a-slower-than-mojo-am-i-doing-something-wrong/103870/35 "2023-09-17T05:17:51Z")

</div>

This code doesn’t give the right answer - [https://discourse.julialang.org/t/simple-recursive-fibonaci-example-how-to-make-it-faster/32369/15](https://discourse.julialang.org/t/simple-recursive-fibonaci-example-how-to-make-it-faster/32369/15)

fibval(50) gives 20365011074  
fib(50) gives 12586269025  
Fibonacci[50] gives 12586269025 # Mathematica code.

What gives?

gani –

---

_[View the full topic](https://discourse.julialang.org/t/performance-comparison-julia-is-a-slower-than-mojo-am-i-doing-something-wrong/103870)._
