News for hackers. Stuff that matters.
Re:Julia and Mojo (Modular) Mandelbrot Benchmark by sundarurfriend on Saturday September 09, 2023 @05:34PM (#37450522)
> I'm not familiar with what idioms might the Mojo compiler be able to optimise better

> I don't know if there is more "compiler friendly" code with the same semantics for Mojo

The Mojo code here is from the official docs [1], so it's from the people best placed to know what the most "compiler friendly" code for Mojo would be, and what idioms they should use to get the best performance Mojo can provide.

[1] https://docs.modular.com/mojo/notebooks/Mandelbrot.html

Re:Julia and Mojo (Modular) Mandelbrot Benchmark by suavesito on Saturday September 09, 2023 @05:43PM (#37450587)
Thanks for the link! Then I guess there is not a lot more that can be said currently, except that maybe Mojo still needs more compiler work. Still, I prefer how readable is the Julia code. :)