Is This Language Replacing Python?!

  Рет қаралды 118,277

Tech With Tim

Tech With Tim

Күн бұрын

Thanks to docker for sponsoring this video!
💻 Getting started with Docker Init: dockr.ly/3O3FRJc
💻 Download Docker Desktop: dockr.ly/3VXMFd7
💻 Enter the giveaway for docker swag by joining my discord: / discord
Can this unreleased programming language, Mojo, replace Python? Even though much of my content is focused on Python, it still has plenty of limitation that leads to more experienced programmers using other languages. Stay tuned to learn how Mojo matches up to Python and hear what I believe will happen!!
Mojo Website: www.modular.com/mojo
💻 Master Blockchain and Web 3.0 development today by using BlockchainExpert: 🔗 algoexpert.io/blockchain (Use code "tim" for a discount!)
💻 Accelerate your software engineering career with ProgrammingExpert: 🔗 programmingexpert.io/tim (Use code "tim" for a discount!)
🎬 Timestamps⏱️
00:00 | I Love Python
00:35 | Introducing Mojo
01:18 | Docker Init
02:34 | What We Know About Mojo
05:16 | The Problems With Python
07:13 | Mojo Code & Features
12:54 | My Thoughts on Mojo
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: 🔗 teespring.com/stores/tech-wit...
📸 Instagram: 🔗 / tech_with_tim
📱 Twitter: 🔗 / techwithtimm
🔊 Discord: 🔗 / discord
📝 LinkedIn: 🔗 / tim-ruscica-82631b179
🌎 Website: 🔗 techwithtim.net
📂 GitHub: 🔗 github.com/techwithtim
One-Time Donations: 💲 www.paypal.com/donate?hosted_...
Patreon: 💲 / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
-Tech With Tim
-Programming
-Coding Languages
⭐️ Hashtags ⭐️
#techwithtim #programming #python

Пікірлер: 279
@TechWithTim
@TechWithTim Жыл бұрын
Make sure to enter the Docker swag giveaway by joining my discord server! discord.gg/twt
@Stopinvadingmyhardware
@Stopinvadingmyhardware Жыл бұрын
Won’t matter something somewhere will go wrong no matter what, usually it’s some asshole waiting on just the right moment to attack what I am doing. I’m so fucking done with these Hindu fucks
@TechWithTim
@TechWithTim Жыл бұрын
Thanks to docker for sponsoring this video! 💻 Getting started with Docker Init: dockr.ly/3O3FRJc 💻 Download Docker Desktop: dockr.ly/3VXMFd7 💻 Enter the giveaway for docker swag by joining my discord: discord.gg/twt
@johngomez3895
@johngomez3895 Жыл бұрын
Good Day, buddy! I am a poor high school student with extremely limited budget -- from a third world country, and got a QUESTION: which of the following devices is enough for studying or pursuing "BLOCKCHAIN development [ i.e. ethereum]" -- i.e. Dell Latitude E6530, E6540, E7440; HP Probook 430 G1, 6470B, 640 G1; HP Elitebook 840 G1, G2, G3?
@grzegorzryznar5101
@grzegorzryznar5101 Жыл бұрын
Please about more content about Mojo! It is really amazing for me. I have benchmarked it in a simple scipt which loops from 0 to billion and conditionally adds or subtracts (adds on even, subtracts on odd) to show the raw performance. In Python it took ~1min to complete, on Mojo.... 800ms.
@thenoseplays2488
@thenoseplays2488 Жыл бұрын
Hey Tim. Been following you off and on for a little over a year now. Got into python through your build a game tutorials. Really excited to see how MOJO might be able to solve a lot of the performance issues game developers using python encounter. Love my casual journey into programing and you are a big part of that. Thanks again man.
@johnnytoobad7785
@johnnytoobad7785 Жыл бұрын
Because I'm retired...I went the other route, C -> VB -> C++ -> Python. MoJo seems like it makes Threading & Multiprocessing easier to program. Using both of these features in Python in the same app can be daunting. However Python has "easy-to-learn" UI interfaces for standalone UI Apps.
@future_teknokrat7585
@future_teknokrat7585 Жыл бұрын
That will probably be it's main use, multithreading.
@evanfreethy2574
@evanfreethy2574 Жыл бұрын
The guy who invented Swift and LLVM is leading the Mojo project. It's going to be really big
@JohnABrady
@JohnABrady Жыл бұрын
Lex Friedman has a good interview with Chris Lattner the project lead mentioned.
@Timely7
@Timely7 Жыл бұрын
Im pretty new to programming and learning python as my first language. Once this language is out I will be using it. Hopefully, I can use Mojo in pycharm.
@Stopinvadingmyhardware
@Stopinvadingmyhardware Жыл бұрын
@@JohnABradyThat’s not a real person
@cipher01
@cipher01 Жыл бұрын
​@@Stopinvadingmyhardware ?????
@vectoralphaSec
@vectoralphaSec Жыл бұрын
​@@cipher01he means he's a robot.
@paulthomas1052
@paulthomas1052 Жыл бұрын
Looks pretty interesting - I'd be interested in seeing the benchmark code running on my MBP. 😏
@m.ehtizan
@m.ehtizan Жыл бұрын
Hey Tim, I just watched your video and I must say that it was really informative and well-made. I loved your videos. I was wondering if I could help you edit your videos and also make highly engaging shorts for you?
@sultan_of_oop
@sultan_of_oop Жыл бұрын
I think the struct and fn are useful performance enhancement features even for regular python devs.
@AchwaqKhalid
@AchwaqKhalid Жыл бұрын
The "GiL" global interpreter lock will be "unlocked" in *Python 3.12* 🔓
@hansdietrich1496
@hansdietrich1496 Жыл бұрын
Can't wait for that to finally happen.
@fadl2009gh
@fadl2009gh Жыл бұрын
Love your content :)
@wickeddubz
@wickeddubz Жыл бұрын
Tim, how about Nim? Do you have any experience with it?
@AdnanTahirofficial
@AdnanTahirofficial Жыл бұрын
Finally, we have C++ and Python combined! Introducing... mojo! It's the perfect blend of raw power and simplicity, like a python that can bench press a tank. With mojo, we will experience the joy of writing code with the efficiency of C++ and the readability of Python. Say goodbye to long compile times and hello to snakes with super strength!
@Gruuvin1
@Gruuvin1 Жыл бұрын
I'd like to see a comparison of compile methods and times.
@momahdy
@momahdy Жыл бұрын
Dude, even your ads are useful!
@Gabirell
@Gabirell Жыл бұрын
Great video. I think you should make more videos about mojo 😊
@Alylaxy
@Alylaxy Жыл бұрын
Hope it doesnt gets forgotten like Nim
@fabricehategekimana5350
@fabricehategekimana5350 Жыл бұрын
Great video ! I like your take on the subject and the professionalism in your response. You know how to step back from the question knowing that the project is not completely there. As you say, the language is made for AI and machine learning. The x35000 come from a calculation with the mandelbrot algorithm (as the site says) I am pretty sure it's about a computation that take hours or days and they optimized it into a high performance server (bar metal) to make it take less time (but that's just an hypothesis). The main things that make me like it are: - speed - better integrated type system - ownership system - pointers - structs - immutability As you say, it was meant to the dataschience/ML community but I am wondering if it can help for python devs. I hope to see if they will integrate more functional programming features. Have a nice week
@RafiGish
@RafiGish Жыл бұрын
Does Tim pay you to post replies like these?
@fabricehategekimana5350
@fabricehategekimana5350 Жыл бұрын
@@RafiGish We can get paid for that ?? Where do I sign ?
@peterm9893
@peterm9893 Жыл бұрын
Beginning with Python 3.9, I've noticed significant performance enhancements. In fact, Python continues to be the go-to language for a wide range of coding projects (though I wouldn't necessarily extend this to mobile or gaming development). I recall in one of your earlier videos you mentioned that certain companies might prefer individuals with programming expertise in specific languages that outperform Python - for instance, Go or Rust for backend development, Unity for gaming, and so on. I understand that; however, I would argue that when Python is optimally utilized, especially with its impressive multiprocessing capabilities, these other languages begin to pale in comparison. Let me share an experience. I created a backend API using Python, integrated with Swagger redocs, and employed gunicorn to run it across four multiprocesses. Remarkably, the performance superseded Java by 1.5 times. Granted, it did require a slight increase in CPU usage, but this becomes trivial when you consider a few key factors: 1. The availability of Go, Rust, or Java developers and their respective compensation packages versus the time involved. 2. Development speed: I managed to develop and deploy the entire system in just two days, compared to a senior Java developer who took two weeks to complete a similar task. Funny enough we managed to save one vCPU per pod overall, although memory usage was slightly higher. 3. Ensuring business continuity. Python remains a dominant force in the programming world, owing a great deal to its roots in C and C++. Personally, I would prefer coding in C++ over any other language, Python being the exception. In my opinion, that's the real power duo.
@nieczerwony
@nieczerwony Жыл бұрын
Availability of Java Devs? GO or Rust yea. Not many of them, but Java devs pool is very big.
@vectoralphaSec
@vectoralphaSec Жыл бұрын
​@nieczerwony honestly Java devs need to move on to Kotlin. It's superior to Java in everyway.
@neunzehnvierundachtzig
@neunzehnvierundachtzig Жыл бұрын
I assume you used FastApi? Its pretty cool and flexible. Python is created for Flexibility.
@nwchrista
@nwchrista Жыл бұрын
var & Struct are C++ add-ins. 'Let' is from good old BASIC. I haven't done any serious programming since college but am taking a swing at Python for a few projects I have in mind. Hopefully, I'm not wasting my time with it.
@mostafaghobashy2724
@mostafaghobashy2724 Жыл бұрын
I am really lucky with the shorts vid, this is exactly what I needed
@antonioferraro7972
@antonioferraro7972 Жыл бұрын
Are there any hints about what will be their licensing model?
@arubaga
@arubaga 2 ай бұрын
No license
@bechirzouaoui5821
@bechirzouaoui5821 Жыл бұрын
What a nice présentation !! Very good 🎉🎉
@MrQlife
@MrQlife Жыл бұрын
Now is the time that we will discover that Python is plenty fast and more than performant enough for most of us
@imyasuka
@imyasuka 9 ай бұрын
Nah
@igorfazlyev
@igorfazlyev Жыл бұрын
What about MIT's Julia? It was supposed to kill Pyton several years ago
@muhammadzainabbasbaloch3200
@muhammadzainabbasbaloch3200 Жыл бұрын
Afaik, julia is not a subset of python. It would not replace python. it would be like typescript for JavaScript which is better to use in production
@SevenThunderful
@SevenThunderful Жыл бұрын
@@muhammadzainabbasbaloch3200 But you can call any Python library you like from Julia. IMHO Julia's array syntax is a lot better than Python's and numpys and it's a lot faster. Julia for the win.
@yomi_olalude
@yomi_olalude Жыл бұрын
Hello Tim, please may I ask what software you use to screen record and have your face on the screen at the same time? I would really appreciate your response.
@Joshua-sp1kd
@Joshua-sp1kd Жыл бұрын
10:45 inout is an interesting keyword for pass by reference haha! I came for the fire emoji file extension 🔥
@Joshua-sp1kd
@Joshua-sp1kd Жыл бұрын
And then you have def and fn controlling this as well… 🔥
@kameikojirou
@kameikojirou Жыл бұрын
It looks a lot like Pyo3/Maturin for Python/Rust which shares many of the same advantages already and likely got it's inspiration from. This looks like an even closer integration, and the mojo side looks like the syntax is a little more Python and a bit of Rust. It looks really interesting and could be a game changer. I wonder what the license side will look like, at least for me that can be a big deal breaker, which just means I'll keep using Pyo3/Maturin.
@nwchrista
@nwchrista Жыл бұрын
Does RUST allow hyperthreading?
@kameikojirou
@kameikojirou Жыл бұрын
@@nwchrista fearless concurrency and parallelism.
@frostsmaker8966
@frostsmaker8966 Жыл бұрын
I got the news about Mojo, a superset of python 3 weeks ago. Then I realized it is not available yet. So,... play a waiting game. :)
@thokozaniphilanizondi3318
@thokozaniphilanizondi3318 4 ай бұрын
Tim can you please create a tutorial series for this language. You have a level deep of understanding about python and this langauge has potential the capabilities for ant pythin use4🙏🏼
@repairstudio4940
@repairstudio4940 Жыл бұрын
This sounds like a game-changer!
@neildutoit5177
@neildutoit5177 Жыл бұрын
I don't see how this is this better than Cython. I've literally never had a problem debugging Cython and I have very limited C knowledge. I found it very easy to get started with Cython and I believe it's more than good enough to optimise in those very rare cases where the language is a bottleneck. 99% of the time though it's db queries or network latency that's the problem.
@pierreollivier1
@pierreollivier1 Жыл бұрын
for you maybe not but mojo, has a very promising future, mainly because they are making the compiler smarter which in turns make the languages easier to optimise for AI research and other devs, (but mainly AI) which often rely on custom or very specialised hardware, like GPU, TPU etc, and previously one had to go figure what was the size of the registers on the cpu(s), refactor the code to take advantage of the line size of the cache, reformat to improve the branching prediction of the pre-fetcher, go and optimise the assembly to take advantage of the AVX512, or refactor to take advantage of the SSE2, to use the SIMD by reducing the long chain dependency of the code. I could go on but basically the guy behind MOJO, is the compiler god, he's the guy behind LLVM which is still today's standard for modern compiler backend, he's the guy behind swift, which is a really cool languages, better than C# for mobile dev. The guys is really good, and now he's working on making a superset of Python somewhat similar like C++ and C, so everything you've learned and used so far in python, will work fine with mojo, it will just go BRRRRRR and be faster
@nicomal
@nicomal Жыл бұрын
​@@pierreollivier1Didn't understand a lot of what you said, but YES!
@kidush4623
@kidush4623 Жыл бұрын
one more con for python: considered easy to reverse engineer the compiled program. while in binaries such as c/go its harder
@RenderingUser
@RenderingUser Жыл бұрын
Most likely will Especially considering there is 0 merit to use python over mojo other than compiling vs interpreting work flow
@markpender5286
@markpender5286 Жыл бұрын
A big selling is the lack of GIL but i wonder with a lot of noise around the gil-ectomy in python does it reduce the benefits of this language.
@omermenahse7136
@omermenahse7136 Жыл бұрын
I really hope that this will work
@nieczerwony
@nieczerwony Жыл бұрын
Simple syntax + C performance? Isn't that what Go is? Or at least what it suppose to be?
@Theeoldmann
@Theeoldmann Жыл бұрын
Mojo seems promising, there was a recent Lex Friedman talk with the dev guy.
@caw25sha
@caw25sha Жыл бұрын
Presumably Modular is a commercial company, which means Mojo will require a paid licence, at least for commercial use. It probably also means the Python foundation won't be able to adopt any ideas from Mojo. Also I'm very sceptical about the 35000 times faster claim. I've seen a few experiments where people write the same code in Python and C or C++ and they generally get improvements in the high hundreds. Hopefully we'll get answers to these concerns in due course.
@TechWithTim
@TechWithTim Жыл бұрын
agreed, a lot more we still need to learn
@repairstudio4940
@repairstudio4940 Жыл бұрын
The 30k+ seems too good to be true for sure but if even half the expected results can be attained, I'm happy now if it's gonna cost more than 4 dozen eggs a month well I'll stick to Python also integration with Python will mosdef impact it's adoption. JMO but agree with ya.
@caw25sha
@caw25sha Жыл бұрын
@@repairstudio4940 For most people the slowness of Python is irrelevant as they shift stuff out to NumPy etc. As Tim said if this takes off it will probably mostly be used to build modules for use by Python rather than actually replacing Python.
@mrquicky
@mrquicky Жыл бұрын
Thank you for this comment. The hilarious part of this video is in the first 30 seconds. People don't move from Python to Java, especially if the complaint is speed. That made me laugh so hard that I immediately dismissed the remainder of the video and went straight to the comments.
@playea123
@playea123 Жыл бұрын
Chris Lattner, the main creator of Mojo (and swift) has said that the plan is to open source the language when it is usable. The same is stated on the website as well. I think Go was also started as a private google language and eventually was open sourced and free to use. Even Swift is open source so if Lattner convinced Apple to do that, I trust his word on Mojo as well. The reality with Mojo though is that it is far from being ready to use let alone in production. That’s the important part imho.
@dera_ng
@dera_ng Жыл бұрын
I wonder how they'll bring these performance improvements to packages which are pip installed 😩
@caw25sha
@caw25sha Жыл бұрын
I don't know how it actually runs (JIT compiler?) but the improvements probably mainly come from strong typing, removing the need to figure out the type of each value at runtime.
@badrenanna3961
@badrenanna3961 Жыл бұрын
@@caw25sha i'm always wondering why Python community didn't think of that to speed up the language. They could create a new typing language like Typescript and javascript.
@noertri618
@noertri618 Жыл бұрын
@@badrenanna3961 they already exists pypy, cython etc
@agustinpena2752
@agustinpena2752 11 ай бұрын
Tim, will you do a Mojo tutorial for beginners, please?
@gugugaga5867
@gugugaga5867 Жыл бұрын
Ohh my god. What happened to my boy. Went from 16 to 30 in just a couple of years.
@mr.quantum1518
@mr.quantum1518 Жыл бұрын
It has literally all features I miss in python. const values, strucs, an upgrade for the shitty type checking in Python, overload constructors. I hope they add something like c/c++ pointers.
@nieczerwony
@nieczerwony Жыл бұрын
I don't think they will add pointers because devs are "scared" of these 😅
@neunzehnvierundachtzig
@neunzehnvierundachtzig Жыл бұрын
I think its better to use C/C++ at that point.
@Jackripster69
@Jackripster69 Жыл бұрын
Seems the real question is, will Python + Mojo replace everything else?
@demyk214
@demyk214 Жыл бұрын
No
@raidensama1511
@raidensama1511 Жыл бұрын
Python + Mojo: replace everything. Rust: hold my beer
@mattiamarchese6316
@mattiamarchese6316 Жыл бұрын
@@raidensama1511 I kinda want to rewrite Mojo in Rust.
@wickeddubz
@wickeddubz Жыл бұрын
Definitely not. Application specific languages will always be better in certain cases
@MagnusAnand
@MagnusAnand Жыл бұрын
Nope
@DallasFort1857
@DallasFort1857 Жыл бұрын
In tech what occupation would you stay is safe from being automatized by AI such as CHATGPT and outsourced? I'm thinking it cybersecurity?
@bradhenry832
@bradhenry832 Жыл бұрын
I use Shelve each game round to save data, which is very slow, so hoping Mojo will help speed things up in my turn-based strategy games.
@user-ff7is7xe4w
@user-ff7is7xe4w Жыл бұрын
Sounds like Python with a Rust sauce over it.
@andrewdunbar828
@andrewdunbar828 Жыл бұрын
It's the other way around. It's a new technology on the inside with Python syntax and compatibility on the outside.
@AbdullahKhan-dl9lm
@AbdullahKhan-dl9lm Жыл бұрын
Make julia tutorials
@icaruscarinae
@icaruscarinae Жыл бұрын
35,000x sounds physically impossible. Not even c++ is that much faster.
@AmodeusR
@AmodeusR Жыл бұрын
I've seen a simple test about fibonacci between python and mojo, trying to get around the 20º digit of the fibonacci sequence, and Mojo was 6x faster. This is not as significant as 35 000x or that complex, but it's already quite a significant boost in speed.
@petrlaskevic1948
@petrlaskevic1948 Жыл бұрын
Does your algorithm use memoization?
@AmodeusR
@AmodeusR Жыл бұрын
@@petrlaskevic1948 It wasn't anything mine, and the purpose of the code was specifically to compare Python and Mojo, not to write an efficient code.
@contingenc3548
@contingenc3548 Жыл бұрын
What are your thoughts on CODON?
@jackjrz8422
@jackjrz8422 Жыл бұрын
What if Python will make the dynamic type and static type co-exists?
@harryhack91
@harryhack91 Жыл бұрын
So, If I got this right, unlike Typescript, which just provides a transpiler to Javascript, Mojo will actually compile to bytecode, but will require its own runtime. In other words, is just like Java with Python syntax and some extra tooling to give you a more low level access, so you don't need to write in a different language (which is basically what JNA does for Java, not to be confused with JNI).
@andrewdunbar828
@andrewdunbar828 Жыл бұрын
Mojo will compile to many targets including CPUs, GPUs, custom accelerators most of us don't even know about. This according to Lattner.
@learnlikelaiba
@learnlikelaiba Жыл бұрын
Hi Tim plz create video about python flask mysql workbench login sign up ..i can't do plz make it easy..i m your fan ..u are awesome teacher
@SevenThunderful
@SevenThunderful Жыл бұрын
I programmed in python and numpy for years. While I like Python, I absolutely hated how slow it was and inevitably converted my code to cython or even C. The GIL absolutely destroys parallelization however. You can't even get IO out to C fast enough to make it worthwhile. In the end I fixed the 2 language problem by switching to Julia. Not only is Julia's syntax better, but it's very fast, competitive with C++, and I can call any python library I want from Julia, but I've been happy with native Julia libraries for machine learning. So I'm not seeing any reason to trade a reasonably mature and performant Julia with Mojo.
@platinumsun4632
@platinumsun4632 9 ай бұрын
Julia?
@greatreset4118
@greatreset4118 Жыл бұрын
Yes it is. I'm so greatful python existed but Im sooo excited about MOJO!
@mehdismaeili3743
@mehdismaeili3743 Жыл бұрын
Excellent.
@HostileRespite
@HostileRespite Жыл бұрын
Most LLMs are based on Python, so if the claim that Mojo is 30,000x faster is at all true, it will change the AI race dramatically.
@nathanruben3372
@nathanruben3372 Жыл бұрын
Julia, I believe will take over in the long term...
@veggiebroth5542
@veggiebroth5542 Жыл бұрын
Lol does docker really need advertisements?
@Sunil-zi4gr
@Sunil-zi4gr Жыл бұрын
how about comparing go and mojo? any comments?
@ilyas7610
@ilyas7610 Жыл бұрын
What about Julia programming language?
@momentomoridoth2007
@momentomoridoth2007 Жыл бұрын
I have been using NIm lately. the syntax is different from python, but just as elegant, and it has bare metal performance.
@adilhasan7035
@adilhasan7035 Жыл бұрын
Yes, I immediately thought about Nim that would be a better replacement for python. I was also wondering about Zig as well.
@srali7609
@srali7609 8 ай бұрын
Do you think Mojo could be used for Mobile app dev?
@danbailey9591
@danbailey9591 Жыл бұрын
This looks promising - definitely want to use it for command line tools and desktop apps.
@Ashwin_1198
@Ashwin_1198 10 ай бұрын
Hey tim mojo is now available to download, plz make a tutorial video on it
@maikelfm9520
@maikelfm9520 Жыл бұрын
I'll believe it when I see it. There's a reason peer reviews exist
@cbbcbb6803
@cbbcbb6803 Жыл бұрын
Some of us do not like the syntaxe of python. Hard to believe, but true.
@djtomoy
@djtomoy Жыл бұрын
I’ll stick with Commodore BASIC for a bit longer I think
@ramforinh
@ramforinh Жыл бұрын
We definitely need yet another language claiming to be better than Python.
@fabricehategekimana5350
@fabricehategekimana5350 Жыл бұрын
He is not better, it fix it X)
@ammornil
@ammornil Жыл бұрын
When Java came out, people were saying C will disappear, that was in the mid 90's (about 30 years ago). The same was said in due times for JavaScript, for Java, for C#, for VBA, for Pearl, the list goes on. But the truth is, all of them are still around. Maybe some developers will move onto new languages (maybe we will have to move to quantum programming languages one day), but I won't get overexcited about MoJo. They are marketing it as 'AI-development' language. Ah,... I am a dinosaur, what do I know about progress?!
@pierreollivier1
@pierreollivier1 Жыл бұрын
True but if you look more closely, Mojo isn't a random guy's garage project, behind it is Chris Lattner, the guy who created LLVM, which is now the backend for a lot of modern compilers, He created swift, which is still a very popular and appreciated language. He's bringing very nice features to Python making it way more powerful, the aim is to make it easier to write code, rely less on C libraries, and have a better use of the specialised hardware. So even if you are not into AI, you'll most likely benefit from using Mojo instead of python
@Nate-fy5cq
@Nate-fy5cq Жыл бұрын
Interesting times we living in
@mahmoudshihab
@mahmoudshihab Жыл бұрын
Can you compare Mojo and Julia?
@driveDoses
@driveDoses 8 ай бұрын
Finally I can leave my python to its orginal place in jungle and welcome Mojo
@doresearchstopwhining
@doresearchstopwhining Жыл бұрын
I don't think people realize how big of a deal this is. I think this might be the biggest advancement in software in 20 years and we'll look back at this time as the beginning of a new era. Python will absolutely dominate the next 10 years because of this advancement. The fact that you can get access to all the features of rust / cpp in a language with all the latest advancements in mlir means there is a smooth dev path from experiments to production. I don''t need to worry about having to experiment in python and then rewrite it in a compiled language, I just need to update my code to add better memory management / types / optimizations and I can get better performance than rust / cpp... You get the best of all worlds with this language and I think it is going to be a while till another language strikes this type of balance between easy of use and performance. Anyone else excited about kb sized wasm binaries from python?
@BigBrother4Life
@BigBrother4Life 10 ай бұрын
100% The fact that you don't need to learn another language with a different syntax is the sticking thing for me.
@SkyFly19853
@SkyFly19853 Жыл бұрын
But what about Cython or other c extensions for Python ? Aren't they important ?
@neildutoit5177
@neildutoit5177 Жыл бұрын
Looking for this comment. Everyone's talking about Mojo like Cython doesn't exist. I think you're asking about compatability? For me it's just, what's the rationale for Mojo when Cython exists? In my experience, I can normally write my code in Python, profile it, and then re-write like 2% of that code in Cython and that's as much as is needed to deal with parts of the code where the language is actually a bottleneck, rather than network latency or db queries or whatever.
@SkyFly19853
@SkyFly19853 Жыл бұрын
@@neildutoit5177 There is even IronPython by C# extension. Why NOT people talk about it ?
@Antilli
@Antilli Жыл бұрын
Mojo looks a lot like Solidity.
@ingoos
@ingoos Жыл бұрын
Meantime, try the Julia Programming Language. As fast as C/Fortran... looks like Python.
@gudchoice
@gudchoice 3 ай бұрын
my question is, is it true a colon can never be overloaded?❤
@nccamsc
@nccamsc Жыл бұрын
Who moves from Python to C++? Tons of people ditch C++ and settle with Python for work that doesn’t require max speed.
@AsgerJon
@AsgerJon Жыл бұрын
If it's the same as Python, it can't be a replacement?
@omairtech6711
@omairtech6711 Жыл бұрын
Not the same language, but shares the same syntax.
@AmpersAndAI
@AmpersAndAI Жыл бұрын
IF, which it isnt
@caw25sha
@caw25sha Жыл бұрын
It's a superset of Python with additional language features which Tim describes in this video.
@aladinmovies
@aladinmovies Жыл бұрын
I think first I can't learn Python on professional level, how I can start learning Mojo. For me first of all Python, and then another languages.
@davocc2405
@davocc2405 Жыл бұрын
Coming from more of an operations and sysadmin/config background - using "on fire" as your extension isn't... ideal.... Trust me, I can still smell the capacitors on a windy day.
@TechWithTim
@TechWithTim Жыл бұрын
well u cal also just use "mojo", it think its for just a gimmick, but it does work
@CaribouDataScience
@CaribouDataScience Жыл бұрын
Is it open source?
@mostafaghobashy2724
@mostafaghobashy2724 10 ай бұрын
mojo is now available locally this is 18/9/2023
@Kyreq
@Kyreq Жыл бұрын
You shoud have mentioned that docker desktop itself is not completely free.
@mickolesmana5899
@mickolesmana5899 Жыл бұрын
finally i can Sjoin 100000 rows of GIS shape in 10 minute
@woolfel
@woolfel Жыл бұрын
It's not just performance. It's specifically matrix math and parallel math is optimal on different hardware. The differences between CPU, CUDA, etc is quite different and today cpython sucks donkey nuts for SIMD. Every ML framework wraps C++ code for CUDA or TPU. That means support for video cards from Intel and AMD sucks balls to infinity. Even after 2 years of work, support for AMD video cards is still buggy and not usable. The benefit is anything math related will get a huge speed boost because it will transparently vectorize and parallelize the execution. Chris latner is the author of LLVM and MOJO uses MRIL to target different hardware.
@harpersnyder2297
@harpersnyder2297 Жыл бұрын
Yes
@potheker
@potheker Жыл бұрын
This may be a stupid question, but why would Mojo only be interesting for AI and low level programming? If it performs so much better than Python, would there be any reason not to use it?
@user-fy1jr1rp1s
@user-fy1jr1rp1s 5 ай бұрын
cool video)
@jorge1869
@jorge1869 Жыл бұрын
Love Python ❤.
@Cookinbk
@Cookinbk Жыл бұрын
Hi I am a software engineer in college for IT but I want to also learn game development but I do not not where to start i want to learn python for apps and softwares and C# for games and pc softwares as well I want to start with C# first because i know python is easy and not hard to learn if you know a language already but I want to learn C# for game development and software apps I wanted to know if anyone knew any update courses or tutorials for beginners I do software engineering and also want to do indie game development solo i know that’s hard but I want to try it I really want to be a software engineer and a indie game developer but I don’t know where to start with game design or programming
@martinmassera
@martinmassera Жыл бұрын
Everything sounds great, although it is a bit disappointing that they changed passing by reference into passing by value in fn functions. They are expecting people to have to remember all the time that def and fn use different strategies. Sorry, guy, but saying that this will prevent beginners from making some mistakes is a fallacious argument. It's making the language worse on the presumption that beginners are dumb. Let beginners learn what passing by reference is. Now, they will still have to learn this for def functions AND they will have to learn that def is different from fn.
@deepfakescoverychannel6710
@deepfakescoverychannel6710 Жыл бұрын
no
@444haluk
@444haluk Жыл бұрын
No. Python means simplicity. There is nothing simple-looking & "just works" element in Mojo. It is a GPU-server-focused workflow for some of the companies out there.
@BigBrother4Life
@BigBrother4Life 10 ай бұрын
I'd rather spend my time learning mojo than learning C/C++, the syntax of these langauges is waaay more complicated.
@AvidAfrican
@AvidAfrican Жыл бұрын
With all these i am confused of what to learn
@HuyNguyen-vp7eb
@HuyNguyen-vp7eb Жыл бұрын
They write a same code but its a different language, something like English and America-ish :)))
@NipkowDisk
@NipkowDisk Жыл бұрын
I think Python is more or less the BASIC of the 21st century, and much more versatile.
@jaimebaron3299
@jaimebaron3299 Жыл бұрын
If it really has huge improvements for AI training I'll definitely make the switch. But it has to be something massive like a 2x times faster. I'm very skeptical about it being so much faster, but I hope to be proven wrong.
@vectoralphaSec
@vectoralphaSec Жыл бұрын
Lol 2x. It's touted as much as 35,000x faster.
[UPDATE] Mojo Is Faster Than Rust - Mojo Explains More
52:09
ThePrimeTime
Рет қаралды 251 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,6 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 35 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 10 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 33 МЛН
First look at the Mojo language's desktop version
6:23
InfoWorld
Рет қаралды 2,2 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,1 МЛН
10 ULTIMATE Python Tips 🔥
16:42
Tech With Tim
Рет қаралды 63 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 100 М.
Mojo - the BLAZINGLY FAST new AI Language? | Prime Reacts
25:18
ThePrimeTime
Рет қаралды 171 М.
Mojo Is FASTER Than Rust
19:22
ThePrimeTime
Рет қаралды 113 М.
Python's Magical Itertools Module
14:33
Tech With Tim
Рет қаралды 79 М.
The Dream Programming Language? Lobster
20:55
Code to the Moon
Рет қаралды 145 М.
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 376 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 35 МЛН