# Can Julia land on the Moon?

**URL:** <https://discourse.julialang.org/t/can-julia-land-on-the-moon/142724>\
**Category:** Modelling & Simulations\
**Created:** [November 3, 2026, 9:35am UTC](https://discourse.julialang.org/t/can-julia-land-on-the-moon/142724 "2026-11-03T09:35:03Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![dmaioli](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@dmaioli](https://discourse.julialang.org/u/dmaioli)\
**Post date:** [November 4, 2026, 2:19pm UTC](https://discourse.julialang.org/t/can-julia-land-on-the-moon/142724/8 "2026-11-04T14:19:21Z")

</div>

Also regarding Section 3.3, does anyone have an intuition for why the Julia implementation of `kalmanNaive` is much slower (6-7x) than a “comparable” Matlab implementation (which the paper does not show but that I imagine being almost identical to the Julia one, except for the obvious syntactic translations). I understand that the naive Julia version is leaving a lot of potential optimizations on the table, but I imagine that a comparable Matlab version would as well.

```julia-auto
function kalmanNaive(x, P, y, yEst, R, H)
    K = (P * H’) / (R + H * P * H’)
    x = x + K * (y - yEst)
    P = (I - K * H) * P
    return x, P
end

```

It looks like a very simple function that essentially does only a few linear algebra operations, so I would expect this difference between the two languages to be applicable in many scenarios.

---

_[View the full topic](https://discourse.julialang.org/t/can-julia-land-on-the-moon/142724)._
