News for hackers. Stuff that matters.
Re:Mojo: It’s Finally Here by ayhanfuat on Thursday September 07, 2023 @03:12PM (#37424082)
It seems quite exciting and all but I cannot figure out why they choose to impress people with marketing posts like "it is a billion times faster, oh no it is actually a zillion times faster" while their actual potential user base is waiting for license issues to be clarified.
Re:Mojo: It’s Finally Here by danielvaughn on Thursday September 07, 2023 @04:08PM (#37424870)
Yeah I believe the actual quoted figure was "35,000 times faster than Python". It's a silly metric either way.
Re:Mojo: It’s Finally Here by ayhanfuat on Thursday September 07, 2023 @04:24PM (#37425042)
They have recently published a blog series which started with 35,000x and ended with 68,000x [1]. The thing is anyone familiar with performance sensitive code is not looking at Python vs the other thing. They are looking for whether or not it is in the ballpark of C, Julia, Cython, Numba, etc. Those are the contenders, not Python.

[1] https://www.modular.com/blog/mojo-a-journey-to-68-000x-speed...

Re:Mojo: It’s Finally Here by ActivePattern on Thursday September 07, 2023 @04:41PM (#37425277)
I think the reason that they focus on pure Python is because a big use case would be pure Python code bases that can be incrementally ported over to Mojo for better performance, without needing to totally abandon the Python language and ecosystem.
Re:Mojo: It’s Finally Here by luma on Thursday September 07, 2023 @04:30PM (#37425134)
If you read the description, they started with 35,000x, then tripled the number of cores to get 68,000x. If your triple the cores and wind up with less than twice the performance, your scaling isn't very good.
Re:Mojo: It’s Finally Here by vorticalbox on Thursday September 07, 2023 @05:41PM (#37425997)
Depends on the task not all tasks scales linearly
Re:Mojo: It’s Finally Here by fooker on Thursday September 07, 2023 @06:31PM (#37426531)
It is very good, especially if you don't have to rewrite your code.

Try to do it yourself (say take a merge sort implementation and try to make it scale), it'll be roughly this much after a few hours of work.

Now imagine the compiler is doing this for you.

Re:Mojo: It’s Finally Here by DiffProg on Thursday September 07, 2023 @07:47PM (#37427290)
Keyword is imagine, because with Mojo you do have to write your code in a new language. You cannot use the Python parts if you want speed. That's writing code in a new language.
Re:Mojo: It’s Finally Here by fooker on Thursday September 07, 2023 @08:45PM (#37427791)
That's the stated goal, it's not mature technology.

You can have your python parts source compatible with the new language.

Of course they are far off from that.

But not that far off if your python code is typical ML framework consumer code.

Re:Mojo: It’s Finally Here by version_five on Thursday September 07, 2023 @05:28PM (#37425860)
I have never taken them seriously precisely because of this statement. They are a machine learning specific language and everyone who works in machines learning knows the speedup is cherry picked bullshit. If they're basic their markering around an obviously false claim, why would I take a closer look?
Re:Mojo: It’s Finally Here by pavelstoev on Thursday September 07, 2023 @11:15PM (#37428790)
The claim is likely not false just like a horse pulling a buggy is several orders of magnitude faster than a snail.
Re:Mojo: It’s Finally Here by chubot on Thursday September 07, 2023 @04:52PM (#37425407)
What’s unclear about it? It’s a closed source product by a for profit company

It would be nice if it were open source, but I don’t see anything that’s unclear about the IP.

Re:Mojo: It’s Finally Here by ayhanfuat on Thursday September 07, 2023 @05:04PM (#37425568)
How license will evolve is unclear. I personally don't mind it starting closed to figure out a contribution model or whatever they want to sort out as long as they have clear commitment. However, the current statement for open source is so vague that I don't want to invest time on it.
Re:Mojo: It’s Finally Here by code_biologist on Thursday September 07, 2023 @08:19PM (#37427584)
I think not investing time in Mojo is the currently the correct decision. If Modular decides they have a good product and would like broad community adoption, they will make the open source and licensing decisions that would support that. They're smart and I presume aware of that dynamic, so honestly I suspect they don't want a broad community just yet.

Community management and language feature haggling is not worth the expense at an early for-profit company with an alpha language that needs to solve internal problems.

Re:Mojo: It’s Finally Here by WanderPanda on Thursday September 07, 2023 @09:22PM (#37428109)
Isn’t the whole point that you don’t invest time in it but just switch over your python project and then optimize it in a ship of theseus manner?
Re:Mojo: It’s Finally Here by mort96 on Friday September 08, 2023 @02:44AM (#37430287)
Good. It's an early alpha product. You shouldn't invest time into it. If their current licensing model prevents people from using it from anything serious, that sounds like a win.
Re:Mojo: It’s Finally Here by ayhanfuat on Friday September 08, 2023 @03:59AM (#37430830)
It's a programming language. Just playing around to see what it is capable of means serious time investment. I wasn't planning on using it on production. Anyway, that was a feedback for the creators. I'll check back if they change the license.
Re:Mojo: It’s Finally Here by wraptile on Friday September 08, 2023 @03:44AM (#37430715)
Mojo team is avoiding this topic like a plague. I recently listened to whole Lex Fridman episode with Mojo's founder Chris Lattner [1] and I don't think they said a word about licensing. I still don't get it tbh.

I don't even understand how can Mojo be compared to Python without reflecting on Python Software Foundation which is arguably the main reason Python is such a wild success. We should do more PSF not less.

1 - https://lexfridman.com/chris-lattner-3