Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: