[TechBites] New language Mojo.🔥 | Will Python be replaced?

  Рет қаралды 15,718

Preface

Preface

Күн бұрын

Пікірлер: 75
@pixel1145
@pixel1145 Жыл бұрын
Coming from a background of C++ and stepping into ML, I disliked Python greatly before, but now I totally see how convenient it is while developing and experimenting with ML. I have big hopes for Mojo and it's keys that it works with the existing Python codebase, you can then grow new performant code from there. I can already see myself using the added multithreading capabilities for example.
@uthoshantm
@uthoshantm Жыл бұрын
Try Julia
@ameera999
@ameera999 6 ай бұрын
I agree, i dislike python becoz it was so slow.
@jeanchindeko5477
@jeanchindeko5477 Жыл бұрын
7:01 yes and no! If you’re already using type annotations in your Python code, that shouldn’t too much of an issue going Mojo static type definition And for anybody else which haven’t jumped into the type annotations of course they will find that cumbersome in the beginning or more verbose
@icns01
@icns01 10 ай бұрын
Because I really enticed by the prospect of a Python like, SYSTEMS LEVEL language to address the issues with Python, I looked at a lot of MOJO videos to ensure I understood what I was getting into. This was quite possibly the best MOJO explainer video I seen to date. Thank you very much!
@klaymoon1
@klaymoon1 Жыл бұрын
Great video! When re-writing Python projects like Numpy or Pandas in Mojo, would it run faster? Would the AI training time also decrease if projects are converted to Mojo?
@Indently
@Indently Жыл бұрын
I don't think Mojo could replace Python. Python is easy to learn for everyone, even with 0 knowledge in programming you can make super cool scripts. With mojo you need to know more what you're doing making it less accessible to a lot of people who aren't really programmers.
@vt2788
@vt2788 Жыл бұрын
You can use it as Python, so it would actually not change any code
@devabdul
@devabdul Жыл бұрын
Exactly Python 🐍 is giant, mojo will be called python framework to specify certain conditions for example ML (Where Time complexity is important if majo is faster than Python)
@pookiepats
@pookiepats Жыл бұрын
Stop saying this lol Python 🐍 sucks, it’s the worst kind of language - hyper productive except: - you cant rely on it in production - you need an engineer on staff just to get the damn things deployed - you pay 💰 for all the dev time you saved by running your servers into the ground and it’s STILL OBJECTIVELY SLOW - your whole ecosystem rides on the back of C and C++ libs - your anaconda / pip / PYPI / Piodide etc endless flavor is forcing people to the cloud because it’s the only way to get something done in that language Julia, Nim, Go, hell even Javascript or F#, even Lua!!! All much much less of a pain - and I’m talking about vanilla JS not that typescript Bs or all of your frameworks
@vt2788
@vt2788 Жыл бұрын
@@pookiepats well that's why mojo would be combining the best of two worlds imho
@devabdul
@devabdul 11 ай бұрын
@@ITSecNEO that's what I'm saying, for TS which is best for JS devs, literally TS make life easy. Mojo is also life saving for Python's developers. Everybody hit runtime errors
@ameera999
@ameera999 6 ай бұрын
I wonder what is its compilation speed. Would it as fast as javascript?
@jonathanghee4617
@jonathanghee4617 Жыл бұрын
That’s cool but lemme install it locally lol. But I like mojo. I hope it allows you to compile to wasm modules and let’s you easily use flask/fast api/openCV.
@niccolomedici4482
@niccolomedici4482 Жыл бұрын
4:27 Won't it confuse JS programmers that "let" is immutable?
@BreytnerNascimento
@BreytnerNascimento Жыл бұрын
JS actively confuse JS programmers so it isn't a big deal
@vt2788
@vt2788 Жыл бұрын
@@BreytnerNascimento haha true. JS is a nightmare for logicians
@Summersault666
@Summersault666 Жыл бұрын
They deserve it!
@greendsnow
@greendsnow Жыл бұрын
Mojo is big, because of MLIR. Some GPU producers are abusing their power right now, you know which! MLIR will be a chainbreaker
@oliverli9630
@oliverli9630 Жыл бұрын
wonder if they have a plan to make it general purpose
@davidbangsdemocracy5455
@davidbangsdemocracy5455 9 ай бұрын
Mojo is not 35,000 times faster than Python. That number has to do with a particular scenario where Mojo know how to take advantage of massively parallel computations using GPUs compared to single threaded CPU operation in Python. That number should not be bantied about.
@LuisCastillo-uu8uk
@LuisCastillo-uu8uk 10 ай бұрын
Hi, I am trying to rum a mojo file on Visual Studio Code but I always got the same message: The Mojo🔥 development environment was not found. If the Mojo SDK is installed, please set the MODULAR_HOME environment variable to the appropriate path, or set the `mojo.modularHomePath` configuration
@ssssssstssssssss
@ssssssstssssssss Жыл бұрын
If “fast” was preferred, Lua (which i like better) would come out on top over Python. Like Torch was originally in Lua. I think it’s going to be hard to take Python down for the time being
@vt2788
@vt2788 Жыл бұрын
I wonder if Mojo can be used for game development if it is so frickin fast?
@freedom_aint_free
@freedom_aint_free Жыл бұрын
I've tried it a couple of months ago when it was in beta test, and I don't see why not, as it basically draws its speed from GPU already the same way Games have been doing for decades now. And Mojo's creator is also the creator of the Swift language that have been used a lot in Apple products, so its team have a lot of experience.
@vt2788
@vt2788 Жыл бұрын
@@freedom_aint_free ok, that's interesting. Thanks for the info. it would make making games more accessible. This is potentially a big thing
@galaxian_hitchhiker
@galaxian_hitchhiker 9 ай бұрын
as long as it is capable of modifying vertices parallelly this fast why not. on the other hand games already mostly use C++ and I doubt if mojo claims they are faster than that.
@vt2788
@vt2788 9 ай бұрын
@@galaxian_hitchhiker ok but writing games in mojo may be a more smooth experience. I am not a C++ programmer, but I am assuming by what I have experienced thus far.
@kendoolin
@kendoolin 9 ай бұрын
In theory it is a perfect platform. The core game engine could be written in MOJO (so fast and memory safe like Rust) and scripting in Python. If some scripting logic becomes a bottlenneck it could be upgraded to MOJO (unlike other scripting languages eg lua, c#). Best of all worlds (in theory)
@uthoshantm
@uthoshantm Жыл бұрын
Mojo is proprietary. I won't even try it. Besides, Julia is a fantastic alternative for those looking for a fast alternative to Python.
@ashutoshchar940
@ashutoshchar940 11 ай бұрын
Im c++ dev but i definitely use mojo because i want to be a sane person in my fifties
@backendmystery
@backendmystery Жыл бұрын
Seems like another tuned C
@RAHUDAS
@RAHUDAS 11 ай бұрын
it is not OpenSource Yet, So it is not a Programmimg Language at all
@redcrafterlppa303
@redcrafterlppa303 Жыл бұрын
It's like c++ trying to replace c but the source language isn't even good.
@DontAddMe
@DontAddMe Жыл бұрын
I left c for pointers and mojo bringing it back.. great
@colinmaharaj
@colinmaharaj 10 ай бұрын
I'm going to stick to c++.
@yevgeniygrechka6431
@yevgeniygrechka6431 Жыл бұрын
I think this will be very interesting and I look forward to see how it plays out. Personally I feel like making it compatible with python is not a good move as it essentially makes it into a weird 2 (or more) in 1 language. Python already has the numba library that compiles certain portions of the program, an while it isn't the greatest experience to use, I have a hard time imagining that companies will switch to Mojo for what is basically a better numba. If they need proper compiled code then then will go with C++, Rust or Go. It would be different if Mojo was its own modern language, but I think its compatibility with python will significantly hurt it.
@gameslover5083
@gameslover5083 Жыл бұрын
Thanks For information 🙂🙂 But Mojo can't replace Python🙂 Yep if anyone is interested in Ai or ML he should learn mojo instead of python 🥰🙂
@vt2788
@vt2788 Жыл бұрын
No point in using python if mojo is a superset. Why learn driving a carriage so that you understand what a car is?😏sorry bad analogy
@gameslover5083
@gameslover5083 Жыл бұрын
@@vt2788 I mean 🙄 What I mean was those who are interested in Ai and ML should learn mojo 😏 Instead of python " Analogy is best but my English is best My native language is pashto"
@yevgeniygrechka6431
@yevgeniygrechka6431 Жыл бұрын
@@vt2788 I disagree with this. A superset language is a very unpleasant experience as you basically have to know several different sets of syntaxes and programming styles. I personally would be much more excited about mojo if it didn't support legacy python (Just like python3 had breaking changes with python2). I get that if you support backwards compatibility you potentially are able to tap in to a big pool of adopters, but imo it comes at a significant cost to the elegance of the language. For example, C++ is basically a superset of C, but C retains a significant market share for a reason.
@vt2788
@vt2788 Жыл бұрын
@@yevgeniygrechka6431 I don't agree entirely either. If C++ changed the speed of C like Mojo does with Python, the use of C would be pointless. Is as it were, a new and expanded version, just by another provider. Mojo can support any existing Python code, so I see no downside here. I mean there would not be any unpleasantness I can imagine. Of course this depends on how easy it is to install and management wise with libraries etc.
@devabdul
@devabdul Жыл бұрын
Majo going to best language, it won't completely replace python, but it will use as python frameworks, Majo need to introduce Strings Pool like Java, because String Is most used in code.
@christcombiccombichrist2651
@christcombiccombichrist2651 Жыл бұрын
I'm going to stick to c++.
@DavidRagazzi
@DavidRagazzi Жыл бұрын
Ok. Nobody cares...
@christcombiccombichrist2651
@christcombiccombichrist2651 Жыл бұрын
@@DavidRagazzi it looks like you cares because my comment hurt your feelings. Lol.
@vt2788
@vt2788 Жыл бұрын
aww you guys be nice
@tastenheber
@tastenheber Жыл бұрын
Bah... I prefer Assembler for string manipulation.
@DavidRagazzi
@DavidRagazzi Жыл бұрын
@@tastenheber 😂😂😂
@akaalkripal5724
@akaalkripal5724 Жыл бұрын
Why not simply switch to C++ or Rust? Mojo seems like an opportunistic mish-mash. Python itself was a terrible move backwards, and now we 've worse coming.
@Freshbott2
@Freshbott2 Жыл бұрын
Nah, Python is heaven. To have people with the Python skill set, or people who can code in C/C++ who can’t stand it like me - suddenly be able to write fast, reliable, readable compiled code using the easiest most popular is huge. And to be able to use existing Python libraries. Are you gonna go rewrite them in C++? Not a chance. Chris Latner created LLVM that compiles much of the world’s C code, and lead Swift. I’d trust he knows how to compile Python to native C++. Sorry to labour the point but mishmash is really not understanding it. Soon as I learnt about this I stopped learning Rust.
@akaalkripal5724
@akaalkripal5724 Жыл бұрын
@@Freshbott2 Tensorflow has over 50% c++ code, and pytorch over 40%. All performant python libraries are just wrappers for underlying C++, C, CUDA or Fortran code. Are you saying Mojo will completely eliminate the need for underlying C++, C, Fortran or CUDA code? I would doubt it.
@Freshbott2
@Freshbott2 Жыл бұрын
@@akaalkripal5724 do you think saying I’m Mojo will eliminate the need for underlying C++ code? I know performant Python libraries are just wrappers, which is the whole point in CPython. And that’s got nothing to do with the end user, which is the whole point in Python.
@banjoowo4001
@banjoowo4001 Жыл бұрын
most of the Ai and machine learning requires python now
@vt2788
@vt2788 Жыл бұрын
​@@akaalkripal5724that is the reason it was created
@sucRipper
@sucRipper Жыл бұрын
I dont feel static code is more complex, I find it much easier to read and write especially when using external libraries and knowing what to expect
Mojo - the BLAZINGLY FAST new AI Language? | Prime Reacts
25:18
ThePrimeTime
Рет қаралды 175 М.
Is This Language Replacing Python?!
14:11
Tech With Tim
Рет қаралды 118 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 78 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 99 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 53 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 734 М.
Rust and RAII Memory Management - Computerphile
24:22
Computerphile
Рет қаралды 234 М.
The Worst Programming Language Ever - Mark Rendle - NDC Oslo 2021
1:00:41
NDC Conferences
Рет қаралды 1,3 МЛН
Python 3.12 is HERE!
12:37
mCoding
Рет қаралды 158 М.
Mojo: A Supercharged Python for AI with Chris Lattner - 634
1:05:57
The TWIML AI Podcast with Sam Charrington
Рет қаралды 7 М.
The Value of Source Code
17:46
Philomatics
Рет қаралды 207 М.
How I'd Learn AI (If I Had to Start Over)
15:04
Thu Vu data analytics
Рет қаралды 872 М.
Mojo Is FASTER Than Rust
19:22
ThePrimeTime
Рет қаралды 117 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 78 МЛН