Mojo Vs. Python: The Ultimate Speed Test #airevolution

preview_player
Показать описание
Welcome to my YouTube channel TechRenaissance in this video we will be exploring the capacities of mojo to its fullest and we will be doing the ultimate speed test between Mojo and Python on the same compute capacity.

We have heard a whole lot of hype around the new programming language called Mojo, that will revolutionize the world of artificial intelligence. However, in this video let's go ahead and do the litmus test and truly find out how powerful Mojo really is.

I'm using the same hardware for running both Python And mojo implementations to make sure that we're comparing both on the same compute. I'm using one of the modular notebooks for matrix multiplication where we will start a basic matrix multiplication and then optimize the code by adding types, vectorizing the innermost loop and parallelizing the matrix multiplication function.

Please don’t forget to like and subscribe to my channel if you would like more content like this.

Also look forward to my official announcement on Mojo series!

Cheers!

Links & References:

#airevolution #artificialintelligence #mojo #modularprogramming #machinelearning #matrixmultiplication #python #programminglanguage #2023
Рекомендации по теме
Комментарии
Автор

Good video. I saw a tweet from Chris Lattner on the Modular profile that they found a way to write the Mojo code yet another 3X faster a couple of days ago at one of those earliest optimization steps. Mojo is going to be insane.

I was rooting for the underdog, Julia, but I think the level of hype the programming community has for Mojo is the beginning of the end for my hope of Julia becoming a more mainstream language. That said, I still prefer the much simpler syntax of Julia for C-like speed without basically having to write a a more complex Rust-like version of Python comparable speeds.

NickWindham
Автор

I do not understand one crucial thing. There are a lot, a lot ways of benchmarking programming languages. Why don't you choose one of them? Why you just copied benchmark already written by Mojo team?

grzegorzryznar