Hacker News new | ask | show | jobs
by suavesito 1012 days ago
The example Mojo code does not run the computations with numpy. It uses the extensions of Mojo to do it, testing the capabilities of this extensions, which are the ones who promises the speed up. I must admit otherwise that not a lot of work has been done to optimise it as the optimised Julia version.
1 comments

Why are you saying that? The Mojo code seems to have the same optimizations as the Julia code.
Edit: I see your point now. Still, I don't know if there is some specific idiom that the current version of the compiler may optimise better. :)