Author Topic: Mojo programming language  (Read 1878 times)

0 Members and 1 Guest are viewing this topic.

Offline PicuinoTopic starter

  • Super Contributor
  • ***
  • Posts: 1033
  • Country: es
    • Picuino web
Mojo programming language
« on: May 21, 2023, 11:00:25 am »
Mojo is a language that promises to be compatible with Python, but much faster. It looks very interesting.
What do you know about this language?

https://www.modular.com/mojo
"Mojo combines the usability of Python with the performance of C, unlocking unparalleled programmability of AI hardware and extensibility of AI models"

https://www.kdnuggets.com/2023/05/mojo-lang-new-programming-language.html
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 6971
  • Country: nl
Re: Mojo programming language
« Reply #1 on: May 21, 2023, 02:09:24 pm »
Seems a byzantine combination of the neural network python-subsets consumed by the major "compilers" (pytorch, keras etc) with C and Rust to make it more efficient to compile to MLIR.

Useful perhaps for those already accustomed to doing numerical code with Python glue, but I don't think it will be general purpose.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15423
  • Country: fr
Re: Mojo programming language
« Reply #2 on: May 21, 2023, 09:31:14 pm »
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 20752
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Mojo programming language
« Reply #3 on: May 22, 2023, 12:38:13 pm »
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline PicuinoTopic starter

  • Super Contributor
  • ***
  • Posts: 1033
  • Country: es
    • Picuino web
Re: Mojo programming language
« Reply #4 on: May 22, 2023, 05:25:30 pm »
 

Offline Ed.Kloonk

  • Super Contributor
  • ***
  • Posts: 4000
  • Country: au
  • Cat video aficionado
Re: Mojo programming language
« Reply #5 on: May 22, 2023, 08:49:44 pm »
Video said: Port a bit of Python code and now it runs 14 times faster.

This is how chipmakers used to hoodwink buyers. Find the most obscure set of circumstances where your chip does one thing better than the market leader but with 500 other things, it doesn't. LOL

iratus parum formica
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15423
  • Country: fr
Re: Mojo programming language
« Reply #6 on: May 22, 2023, 08:56:29 pm »
Just read the about page really, it's hilarious.
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 6971
  • Country: nl
Re: Mojo programming language
« Reply #7 on: May 22, 2023, 08:58:09 pm »
No one has been using python implementations of matrix multiplication seriously.

Even Numpy is a bit old in the tooth, best to compare to Jax.

PS. they are VC funded, the about page is par for the course. Making a new compiler which can be backward compatible with the mountains of shoestring and bubblegum of ye average AI Python code (especially the higher level stuff like Huggingface) and produce something remotely efficient will take a lot of programmers, gotta woo the VCs and keep them happy.
« Last Edit: May 22, 2023, 09:15:38 pm by Marco »
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15423
  • Country: fr
Re: Mojo programming language
« Reply #8 on: May 24, 2023, 09:16:28 pm »
Note that the CEO, Chris Lattner, is the guy behind LLVM and Swift. So definitely not your random Joe.

Still, the web site and their videos, benchmarking stuff that doesn't really make sense, looks odd. The logo with fire. Is this targetting engineers or kids?

Money is one thing, if you have a really serious project led by people with this background, you shouldn't (and shouldn't have to) make it a circus.
Of course, it may all be about making quick cash.

Just my 2 cents. :popcorn:
 

Offline Rizzo

  • Newbie
  • Posts: 2
  • Country: us
Re: Mojo programming language
« Reply #9 on: October 02, 2023, 08:00:35 pm »
Mojo is for Python programmers who don't want to learn a new syntax yet have no problems learning static typing and manual memory management?
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4533
  • Country: nz
Re: Mojo programming language
« Reply #10 on: October 03, 2023, 12:37:18 am »
Note that the CEO, Chris Lattner, is the guy behind LLVM and Swift. So definitely not your random Joe.

Lattner did good work at university and I'm sure in most of his almost 12 years at Apple. I'm not at sure about his rapid arc through Tesla (6 months), Google (2 years 6 months), and SiFive (2 years 1 month).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf