Be sure to check out the comments on the page - lots of optimisations for the julia code.
Julia and Mojo Mandelbrot Benchmark
11–20 of 168 posts
Re: Julia and Mojo Mandelbrot Benchmark
#12In my opinion, the issue that will make more of a difference in the long run is Mojo's first-class support for AoT compiled binaries (as well as JIT compilation). Julia's poor AoT support (with small binaries) is a major Achilles heel. I really wish that the Julia developers had taken that more seriously earlier on.
If anyone is interested in compiling small binaries with Julia do check out staticcompiler.jl and supporting statictools.jl that manages to produce small binaries without the Julia runtime , Ofcourse it's a wip , and not fully mature , I'm just putting it out there for people to know. There's some really cool demonstrations come out of this ... Wasm fluid simulation in Julia: https://alexander-barth.github.io/FluidSi…
Static compilation is indeed possible with Julia. But it's very limited in its capabilities and certainly not as effortless as a simple `mojo build myfile.mojo`.
Re: Julia and Mojo Mandelbrot Benchmark
#13I expect Mojo's first release to be fast enough that it would get the Python folks using it over Julia and that the next Mojo release or future ones will get another 8x or 10x faster.
The same outcome happened with Bun 1.0 and already claimed the top spot in speed and compatibility in the node ecosystem in its first release and it isn't even done yet.
The least amount of effort to get something done much faster wins by default.
Re: Julia and Mojo Mandelbrot Benchmark
#14Re: Julia and Mojo Mandelbrot Benchmark
#15Be sure to check out the comments on the page - lots of optimisations for the julia code.
Not if you want to avoid condescending "I cannot look at the Python code my eyes hurt" comments. Good to know the Julia community hasn't made any progress in that regard, though.
Re: Julia and Mojo Mandelbrot Benchmark
#16Be sure to check out the comments on the page - lots of optimisations for the julia code.
Not if you want to avoid condescending "I cannot look at the Python code my eyes hurt" comments. Good to know the Julia community hasn't made any progress in that regard, though.
Re: Julia and Mojo Mandelbrot Benchmark
#17As long as you can copy and paste Python code to Mojo and it is 1:1 compatible with all your existing libraries and is hundreds of times faster than Python, that is much better than wasting time rewriting it in another language that is 8x faster than Mojo (in its first release) with hand-optimizations from Julia language experts. I expect Mojo's first release to be fast enough that it would get the Python folks using…
And then you’re stuck with a proprietary language “subscribe to download”? Not sure it’s the least amount of effort honestly.
Re: Julia and Mojo Mandelbrot Benchmark
#18Re: Julia and Mojo Mandelbrot Benchmark
#19As long as you can copy and paste Python code to Mojo and it is 1:1 compatible with all your existing libraries and is hundreds of times faster than Python, that is much better than wasting time rewriting it in another language that is 8x faster than Mojo (in its first release) with hand-optimizations from Julia language experts. I expect Mojo's first release to be fast enough that it would get the Python folks using…
Re: Julia and Mojo Mandelbrot Benchmark
#20Does anyone know of examples of Mojo for GPU computations? The website makes multiple claims about it being able to run seamlessly on the GPU but I couldn't find any documentation on it...