It is still fascinating that lisp languages lost to python for AI and data processing and now pretty much everything else. In a perfect world , we would be using lisp or lisp like languages for everything
Julia and Mojo Mandelbrot Benchmark
91–100 of 168 posts
Re: Julia and Mojo Mandelbrot Benchmark
#92Last time this was up I wrote a single-threaded version in C which I'm pretty sure beats both Julia and Mojo: https://github.com/bjourne/c-examples/blob/master/programs/m...
Sometimes "showing the code" is not enough. Show me the benchmark.
Re: Julia and Mojo Mandelbrot Benchmark
#93Earlier quoted context omitted.
The language is really new, it only supports amd64 Linux at the moment (at least publicly)
I am aware it's new, but they state for example on their website: > Write Python or scale all the way down to the metal. Program the multitude of low-level AI hardware. No C++ or CUDA required. I just thought they might already have something to show on that end...
Re: Julia and Mojo Mandelbrot Benchmark
#94Mojo released an example of their new language which will mean readability and simplicity compared to the Python implementation will surely have been a requirement… I get someone within Modular doing some horrific looking low-level Mojo stuff could get it much quicker.
> Mojo released an example of their new language which will mean readability and simplicity compared to the Python implementation will surely have been a requirement… Did you read the Mojo code? It’s very messy and low-level dealing with explicit SIMD intrinsics and such.
Re: Julia and Mojo Mandelbrot Benchmark
#95Last time this was up I wrote a single-threaded version in C which I'm pretty sure beats both Julia and Mojo: https://github.com/bjourne/c-examples/blob/master/programs/m...
Re: Julia and Mojo Mandelbrot Benchmark
#96A bit OT but what is Julia's adoption rate nowadays ? I know there are people who thinks it's the best, others thinks it's not going to cut it, but well.. In your experience ? (my experience is: a little too slow to load, type hierarchies lead to unbearable error messages sometimes but looks like a serious attempt to replace whatever language in the math/physics/stats/... space)
I've been using it at work for almost 2 years now. I haven't used python personally since.
Re: Julia and Mojo Mandelbrot Benchmark
#97Earlier quoted context omitted.
We have seen many languages cycle in popularity, but Julia is one of the few high-level languages that could actually match... or in some cases exceed C/C++ performance. There are always tradeoffs, and it usually takes a few weeks for people to come to terms with why Julia is unique. Definitely falls into the fun category. =)
How can Julia exceed C/C++ performance?
Re: Julia and Mojo Mandelbrot Benchmark
#98Whilst the Julia version currently beats Mojo, I fully expect both to approach basically the same performance with enough tinkering, and for that performance to be on par with C or Fortran. A more interesting question is which version is more elegant, ‘obvious’ and maintainable. (Deeply familiar with both, but money is on Julia).
My humble two pennies is that Julia is missing the influencer factor: being endorsed by widely known entities that will attract the attention of both corporate eyes and the hordes of developers constantly looking for the next big thing.
Your money might be on Julia but $100mln was just placed on the Mojo/Modular bet...
Re: Julia and Mojo Mandelbrot Benchmark
#99Last time this was up I wrote a single-threaded version in C which I'm pretty sure beats both Julia and Mojo: https://github.com/bjourne/c-examples/blob/master/programs/m...
> which I'm pretty sure beats both Julia and Mojo Sometimes "showing the code" is not enough. Show me the benchmark.
Re: Julia and Mojo Mandelbrot Benchmark
#100Earlier quoted context omitted.
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.