Thank you for the tutorial 🙏 will be waiting for more🔥
@thetahayaseen Жыл бұрын
outdated yet?
@sathishyadav6517 Жыл бұрын
Thank you so much
@therealdaniel45110 ай бұрын
It's a nice tutorial but I think the performance comparison is highly irrelevant for practice. It is a comparison against a manual matmul in Python - and nobody does this. Ever. I benchmarked myself and get the same order of magnitude and (in most cases) still more performance with 0 optimization and simply using PyTorch on GPU, like any AI dev would. No researcher will ever invest time to optimize on that level, if running PyTorch (and the like) on GPU gives similar or more speedup. Don't get me wrong, Mojo looks like a really interesting approach but the huge win of Python - including in AI - comes from enabling the dev to do complex stuff without optimization in just a few lines of code and outsourcing the "heavy lifting" automatically to CUDA and the like. Thus (1) Mojo will never win a huge user base over if the implementation takes much more time and, what is far more important, (2) Mojo needs to compare against PyTorch and the like and *perform better* there, not against vanilla Python.
@Cahangir Жыл бұрын
As a Python enthusiast i believe this will soon become my favorite language and thanks to you guys for providing amazing free content, once again!
@EmberHolly Жыл бұрын
As someone who has stayed away from being a Python enthusiast due to its speed... likewise. I have yet to watch the tutorial. Is Mojo interpreted?
@EmberHolly Жыл бұрын
okay, i lied, i'm pretty enthusiastic about the language. lolol
@headder7802 Жыл бұрын
@@EmberHolly Compiled ;)
@TGIF007 Жыл бұрын
Cant believe darth vader is teaching me mojo.such a deep voice 🎉🎉
@techedzee Жыл бұрын
😂😂😂 stop 🛑 playing and pay attention 😅😅😅. No cap 🧢, that was funny 😁
@yeyintaung9837 Жыл бұрын
Lukeeee😂
@TGIF007 Жыл бұрын
@@yeyintaung9837 I am ur tutooor!
@fintech1378 Жыл бұрын
Is he doing ASMR? On his both voice and keyboard
@khanra17 Жыл бұрын
@@fintech1378 This annoying voice is ASMR to you ?
@soheirabdelmoneim7779 Жыл бұрын
The functionality of Python and the speed of C make Mojo a promising language 🔥 it's far from replacing Python at the moment but we will be waiting for it to evolve. Thank you for the tutorial
@baldeagle6531 Жыл бұрын
So i did a little research with the exotic behaviour of Int datatype: Int8 stores 127 positive number, null and 128 negative numbers. So when you type 127 in Int8 you'll get 127, but when you type 128 you'll receive -128 and further initial increment just reduces the negative num by +1 (Int8 129 = -127 and so on). Also when binary grid overflow occurs the bit pointer just continues to move from left to right overlapping past bit. As shown in the video 6000 became 112. The representation of 6000 in binary is 1011101110000 and for 112 is 01110000, as you can see these are the last 8 bits of 6000 in binary.
@alelondon23 Жыл бұрын
not exotic behaviour. when a number doesn't fit the datatype (like 6000 into a en.wikipedia.org/wiki/Two%27s_complement signed 8-bit integer) the extra digits get truncated and the implementation may rise some "overflow" flag.
@baldeagle6531 Жыл бұрын
@@alelondon23 yep, that's what i meant
@canahmetozguven676111 ай бұрын
The reason is the 0
@vectoralphaSec Жыл бұрын
Mojo has a lot of potential to take over the world. Hopefully it gets a lot of support.
@scarysticks66 Жыл бұрын
it's not opensource, so its useless
@vectoralphaSec Жыл бұрын
@scarysticks66 not now, but the creators have said they are planning for open source in the future so it's getting there.
@rails-to-cosmos Жыл бұрын
Nim has its potential.
@noone-ld7pt11 ай бұрын
@@scarysticks66 They just announced that they are open-sourcing it. Should be out by Q1 2024! And I agree that this is definitely what they needed to do to ensure widespread adoption. Now this can truly be game-changing!
@pnakek7 ай бұрын
@@scarysticks66 They have now open sourced the Mojo standard library. So we're moving in the right direction.
@vulamnguyen9453 Жыл бұрын
58:02 I think it would be better example for "rhs" if you overload operator in that struct. Such as fn __add__(self, rhs: Banana) -> Float32: return self.Length + rhs.Length. Since you only return self.Rype or Length or Color, include "rhs" argument wasn't necessary.
@peterzelchenkoАй бұрын
@30:54 people are going to get confused when Elliot says an Int8 can go from minus 255 to 255. That's not correct. If you take 2^8 bits (two to the eighth power or 2x2x2x2x2x2x2x2) you get 256 available values within any 8 bits or binary digit positions. In a signed integer, this is represented in decimal from minus 127 down to 0 and then up to to 127, totaling 255 possibilities (plus "negative 0" gives you 256, but nevermind that). So it's really only minus 127 to plus 127, not minus 255 to 255. The trick is the "sign bit" -- the leftmost bit position of the 8-bit byte that can of course be either 0 or 1. If 0, then the number is positive (7 bits going from 0-127) and if 1 the sign bit is set and the number is negative (7 bits going from negative 0 to negative 127). The other 7 of the 8 bits are used for the actual number. With an unsigned integer UInt, the sign bit is not used for negative numbers, but it is used instead for an additional 128 positive integers to take you from 0 to 255. This is convenient if you don't have any intention of the variable to go negative. A signed Int16 or 16-bit integer can give you 2^15 possibilities in both the negative and positive direction, or minus 32767 to +32767, and a 32-bit integer can give you (2^32 / 2) over 2 billion in either direction. Python is nice because it doesn't bother us with this, but this is also why Python is not as efficient as Mojo or C. So, when you start wanting high performance speed in your code, you have to start considering the bit and byte level to speed up many of your operations. Eventually it becomes second nature to know what purpose the variable or data element is being used for. In general, the difference between a high-level developer and a regular programmer is more or less this understanding and not a great deal more. If you learn this well (and it's not really that impenetrable, I promise), you will have a richer understanding and a new level of ability with computers.
@Bunta1987qwerty Жыл бұрын
I’m so glad you guys made this video, but I’d appreciate better audio quality.
@goose.mp4 Жыл бұрын
yea the guys mic is... interesting lol
@agentm10 Жыл бұрын
I was waiting for this since I heard about Mojo about six months ago!
@GiantsOnTheHorizon Жыл бұрын
I’m sure we’re a few years away from this but, imagine a game engine built in Mojo using Mojo as the scripting language. ❤
@noblackbox4 ай бұрын
The 'let' keyword is no longer supported in Mojo as of the 24.2 release. Instead, Mojo now only supports 'var' variables and undeclared variables (similar to Python) inside 'def' functions or in top-level code in the REPL. Therefore, you should use 'var' instead of 'let' for variable declarations.
@swapnilchand3384 ай бұрын
thanks
@YoavKantor10 ай бұрын
Python based AI is usually implemented using the PyTorch library, which uses Lua (C based code) for optimizations.
@raidensh0gun Жыл бұрын
Thank you so very much
@sknazrulislam1009 Жыл бұрын
24 hours without this channel feels like a day
@Enjoyablewalks Жыл бұрын
😂exactly..
@marcusdelictus Жыл бұрын
I dont get it? 24 hours is a day?
@BabaAndBaby11 Жыл бұрын
@@marcusdelictusBro if you will get addicted to this channel, there will be no day for you. This channel is addictive though
@Grogueman Жыл бұрын
@@marcusdelictus Every 60 minutes in Africa, an hour pases.
@myriad417 Жыл бұрын
@@Groguemanwhen people die, they become dead
@MBeutnagel9 ай бұрын
Thanks for the intro! Mojo looks very promising,, but anything that needs a huge speedup would be called from a Python library containing compiled functions. If there's no existing library, it takes extra time and effort to create a custom one in C or some other language compatible with the Python ABI. Yes, great advantage that Mojo compiles directly, but it is definitely possible to get good performance with Python.
@JeremyJanzen Жыл бұрын
Thanks for the video. Honestly I’m not sure it really makes sense from a beginner perspective because a beginner would just be confused by Mojo, as they don’t understand the underlying Python. IMO it would have made more sense to write a tutorial for people who already know Python and how they could use this to speed up their programs.
@LeePenkman6 ай бұрын
nice, with the speed test with cuda/torch sometimes it delays the initialization of a lot of the cuda packages untill you start using torch. so can mean moving a few 100mb over once at the start of the program. Just didnt want anyone to make the mistake - gpu is going to be much faster at doing most things esp parallellizable stuff. Amazing tutorial thanks!
@Anthemy_beats Жыл бұрын
Thank youuuuuuuuuuuuuu, finally some mojo content!!!!!!!!!!!!!!!!!!! All do, I have a problem, remember the time you opened Jupyter Notebook? a made the same thing, write "Jupiter notebook" in the terminal, and other enter that link, but it does not open in my browser.
@jantoko Жыл бұрын
Wow this is fast! Mojo would be potential, it really nice to adapt from Rust.
@edism Жыл бұрын
It's not an adaptation of Rust though.
@nelmatrix3942 Жыл бұрын
This language is pretty cool 🤩. The syntax is just like that od Python and Kotlin.
@mehediazad1780 Жыл бұрын
waited a long. thank you so much
@klaymoon1 Жыл бұрын
Great course! Does Mojo even runs Numpy or Pandas faster? Also, would AI training be done faster if re-written in Mojo?
@kawaiihikari0 Жыл бұрын
Finally someone who knows how good MS Edge is. He is valid boys 😅
@vinodsebastian6550 Жыл бұрын
1:39:50 "We're going to take the first four numbers of whatever you put in here, and everything else we're just going to splice it off. That's a cool little feature. I don't know if that's a feature or a bug --" 😁
@ShukkaDTheGreat Жыл бұрын
I’ve been waiting for this video for a LONG time
@olafk8232 Жыл бұрын
What about regular expressions or parsers (native without Python Libs)?
@aniketshewale5051 Жыл бұрын
Hello, Mojo😊
@antikoerper2566 ай бұрын
Thanks a lot! Free education is amazing. I have a question - does Mojo require powerful hardware to run? It can do a lot and im afraid I may not have what it takes hardware-wise for it to be used optimally... Or could it just be run with the same specs like Python? I know it really depends on what you're doing with it but im speaking in general terms as well as in more broad ones
@sknazrulislam1009 Жыл бұрын
Wonderful tutorials 🎉🎉😊😊
@promtpking11 ай бұрын
you guys always putting out stuff like you reading our minds lol! ... request could you please do a tutorial on MQL5 as in metatrader's language for building trading bots
@StatoLNL10 ай бұрын
Great intro into the future of IaaS
@ertagon Жыл бұрын
Correct me if I am wrong but almost all if not all major AI frameworks such as Tensorflow or PyTorch are not "written" in Python. To the best of my knowledge (and I could be wrong here) they act more like wrappers with low level mathematical operations (and thus AI training) taking place in compiled languages, I suspect it's C++. So where is this improvement in AI model training (as mentioned in the video 5:25) comes from? True if you are doing anything outside of those frameworks you are indeed stuck with Python speeds. But I don't believe the training speeds themselves are affected in any way.
@vulamnguyen9453 Жыл бұрын
When you build a Time Distributed model such as CNN + LSTM for action recognition or video classification, you have extract feature embedding from N frames and then feed them one by one to LSTM (you have to use for loop in this case). And that part is a bottleneck since you use python for loop. Those bottleneck occur in many parts of the code where you don't perform tensor operation. You can look for PaDiM (an unsupervised method for anomaly detection), you can see that there are many parts that have that kind of bottleneck. Hopefully, Mojo can speed up those parts.
@latheeshvmv Жыл бұрын
It seems very clean! and I am liking it
@jgomezwilliam3230 Жыл бұрын
Thanks for the intro. Does windows version of Mojo mean we use the windows GUI programming?
@vishalboudhh Жыл бұрын
Imagine DSA with MOJO 😮
@playea123 Жыл бұрын
Would be a fantastic course
@rishu_Kumar07 Жыл бұрын
that will give us huge benefit during placements🔥🔥
@edism Жыл бұрын
Data Structures & Algorithms?
@vishalboudhh Жыл бұрын
@@edism data structures and algorithms
@edism Жыл бұрын
@@vishalboudhh Ah, are you referring to the book or subjects in general?
@THE_PKT Жыл бұрын
Both are amazing. His voice and the whole course as well. ❤
@raz478 Жыл бұрын
Thanks. Can you give an example of using Mojo function (such as exp, mod, mul)?
@mndtr06 ай бұрын
Hope we will get just huge speed up for existing Python code with Mojo...
@ISituationHD9 ай бұрын
Before I start learning mojo, should I still learn python for the near future, if I want to work witj AI?
@robvp7111 ай бұрын
At 1h01m I don't see the point of the rhs variable, you can just use fn rype(self) -> Bool or am I missing something (It works just fine in my code) Thanks for the tutorial!
@brainstormingsharing1309 Жыл бұрын
Keep it up! Especially when it is for beginners! 👍
@Ikxi Жыл бұрын
Your notebook looks slightly different. Is there some theme or other setting that I would need to change or is it just because it's a newer version? I have to first create a new notebook and then it opens another tab where I can select python or mojo.
@eugenmalatov5470 Жыл бұрын
Exactly, I got this as well. I am also having problems to get the mojo kernel running.
@michaelorlev992511 ай бұрын
Wonderful tutorial, a question from a noob. With the "owned" arg, does the function change a parameter declared as "let"? Or does the function create it's own copy that is disconnected from the "let" parameter, and therefore mutable now?
@eugenmalatov5470 Жыл бұрын
small comment. You only get the mojo file icon in VSCode if you set the file icon theme to SETI. For me, this was not preset under WSL2 Ubuntu VSCode.
@ttominable Жыл бұрын
My face during the introduction: 🤨🤨🤨
@dhanushm444 Жыл бұрын
இந்த மனசு தான் சார் கடவுள் 🙏✨✨
@naveenkumarm1190 Жыл бұрын
Hey,Tamil Happy to see in the global community
@heerthirajah1661 Жыл бұрын
Aaama thala
@sathishyadav6517 Жыл бұрын
adai ingayumaa :)
@heerthirajah1661 Жыл бұрын
@@sathishyadav6517 😂
@nocopyrightgameplaystockvi231 Жыл бұрын
Technically Python is a compiled language and it even has a PVM like JVM. However, the slowness comes from 10 different things in python. BTW, thank you for this course. Fun fact, Mojo can load Python libraries as well.
@LakaiSkateForLife Жыл бұрын
No it is not a compiled language just because it has a bytecode. There’s a big difference in architecture between a compiler and an interpreter and CPython is definitely the latter.
@nocopyrightgameplaystockvi231 Жыл бұрын
@@LakaiSkateForLife it depends what Implementation of python you are taking into consideration. CPython kind of takes care of the pyc generation(compiler) and execution through VM(interpreter).
@FridayHigh Жыл бұрын
I am facing a crashpad failed to initialize error😢 someone plzz help
@ovskihouse5271 Жыл бұрын
Thanks alot.. Amazing people ever&ever
@Dr.Cosmar11 ай бұрын
2:20 I realized I'm actually more advanced than I thought, and I really don't need this... I need to just go to the docs.
@isaac80745 Жыл бұрын
if they have built in support to their own Data science libraries maybe they can replace python but most people wont be inclined to switch with similar features and little added on their part.
@nubufi Жыл бұрын
Is there any rest api framework for mojo ? Or can I still use fastapi ?
@abdullahmertozdemir9437 Жыл бұрын
All python packages should work with mojo, assumedly
@Summersault666 Жыл бұрын
The question should be, is there a framework written in mojo?
@nubufi Жыл бұрын
@@Summersault666 It can be written in python. I don't mind as long as it is working :)
@abdullahmertozdemir9437 Жыл бұрын
@@Summersault666 I mean, sure, why not? That's like asking a C++ programmer if there is a C++ framework. Almost all C code works in C++, so any C framework is also a C++ framework. You know what I mean?
@phat80 Жыл бұрын
@@nubufiSo what’s the benefit then? 😂 Any Python framework will be a bottle neck.
@anon-fz2bo Жыл бұрын
maybe its the cpp in me talking but wouldnt the expression let x = "hello world" print(x) mean that print takes in a reference to a string rather than a string literal? which is the type that the lsp sates that the print fn takes in?
@smartcat5989 Жыл бұрын
i am getting this error on my wsl ubantu terminal :tack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
@mighnmagic9430 Жыл бұрын
If i am starting from 0 can i start with mojo or i still need python?
@dr.banane80388 ай бұрын
I recommend Java, python is very high level and hiding the machine and mojo is not ready yet. There are important concepts which are still missing in mojo. My university starts with java. It is not that hard and you can learn everything important, although it is a bit slower.
@PiyushNarwal-zy1we Жыл бұрын
Plz Make Kafka Tutorial as well
@Dpk_YT Жыл бұрын
This is what I wanted .....thank you
@alessiocaffi5992 Жыл бұрын
what a silly name (or worst) for a potential nice language and syntax...why not something like: PyCon, PyonC , ConPy, PythoC, PyWarp, and so on. Thumbs up for the lecture!
@estuardohernandez42308 ай бұрын
The major drawback of Mojo is that it is not available for Windows
@bluevisor5 ай бұрын
WSL
@GaryIV Жыл бұрын
I wasnt able to find out in the docs. Does Mojo have a support for infinite integers like Python does? I want to test out Mojo's speed by performing a Mersenne Prime search but I would need int's that can carry 10's of thousands of digits.
@rithvikj20228 ай бұрын
i am intreasted in learning mojo programing language
@DaveJosh-qc5xn Жыл бұрын
What's mojo used for
@phat80 Жыл бұрын
It’s too young to be used for something but it supposed to be used in AI development.
@slawomirr129 ай бұрын
configparser.NoSectionError: No section: 'mojo' modular: error: failed to run script
@wasgeht2409 Жыл бұрын
Could I use it with MacOs Visual Studio ?
@AyushShahcricketaddicts6 ай бұрын
Mojo coomand not found but, RUNNING ON JUPYTER NOTEBOOK
@Eber.Laurente Жыл бұрын
Mojo has any framework like pytorch?
@omarmohammad579 Жыл бұрын
Since this language is similat to python . Does it work with django?
@vectoralphaSec Жыл бұрын
That would be cool. Django with the speed of Mojo.
@omarmohammad579 Жыл бұрын
@@vectoralphaSec exactly
@SUMEDHAMISHRA-e1z Жыл бұрын
free coding camp is my religion.🙇
@bernasevinc525911 ай бұрын
Can you help me how to open and read a file with mojo?
@TheVirtualArena24 Жыл бұрын
Isn't it just dropped? Is it ok to learn now?
@s_a_i. Жыл бұрын
Is the author confident in the accuracy of the speed calculations at the beginning of the video?
@kevinmcfarlane2752 Жыл бұрын
The last example I saw on the Modular blog a few weeks ago showed a 68K speedup on the Mandelbrot benchmark. This was also the figure advertised on the home page. But, also, the 68K was on 88 cores, so you won’t get that on your PC! But you could get thousands.
@guilhermewxs18407 ай бұрын
Basically typescript but with python syntax
@youflix_242 ай бұрын
I hope microsoft make this programing language as default on windows. It should replace the shell and c++.
@jihedbouchnak7 ай бұрын
Mojo will be a game changer it will wipeout some languages forever, could this surpass the king: C++?
@Afkmuds10 ай бұрын
is it out of date?
@ajju38668 ай бұрын
How can we host endpoint using mojo
@quanquoctruong1276 Жыл бұрын
Damn you ARE quick!!!!!!!!!!!!!!!!!!!!!!
@svidetel_bitcoina Жыл бұрын
installation of ubuntu, modular and mojo is hell, button run mojo file doesn't work either 🤯 command jupytor notebook doesn't exist
@infocascadesoftwaredevelop1661 Жыл бұрын
Can I create a django project with mojo
@nugget7236 Жыл бұрын
only issue i have with this tut is he explains half of everything with the context of knowing python and the other half of not knowing python, and personally he doesnt sound exactly like he wants to explain idk just the feeling i get from his voice
@AnantKumarPandey27 Жыл бұрын
14:12 I am not able to find mojo 🔥extension in my vs code
@debajyatidey9468 Жыл бұрын
Make an Ocaml programming course please 🥺 🙏🥺🙏
@kevinmcfarlane2752 Жыл бұрын
In the meantime you could try the underrated F#. Plenty of tutorials on that.
@debajyatidey9468 Жыл бұрын
@@kevinmcfarlane2752 Sure, I will try it. Thanks for the suggestion
@kevinmcfarlane2752 Жыл бұрын
@@debajyatidey9468 It also has good support for data science and AI. Search "F# data science."
@centralcodingethiopia Жыл бұрын
I like python and ready to learn mojo. Thebproblem is, i have no such speedy computer. 😢😢😢 Mama Africa.
@baldeagle6531 Жыл бұрын
don't worry, just read the documentation, mojo is still in beta and only on linux machines, you have plenty of time
@Motiv8Me-1 Жыл бұрын
Nice and promising language. Thanks for sharing
@zaursamedov8906 Жыл бұрын
Here we go again
@shadowskullG Жыл бұрын
Inout is basically by reference
@quaziz10 ай бұрын
A few things wrong so far, but I guess its just because the guy is not that experienced with programming overall. I like the tutorial so far tho @28:28. (an int8 can be from -128 to 127, wheras a uint8 would be 0 to 255)
@Monamô-e2h Жыл бұрын
I like your own voice like the angel😂
@SusanaGalan-g1r23 күн бұрын
Hi you paid for modular channel inside of discord? I cannot write in mojo-bot-help
@adan8657 Жыл бұрын
Mojo is what we call our typical sauce in the Canary Islands
@sabasabahat5620 Жыл бұрын
Thanks❤
@AmirBautista-s2w7 ай бұрын
Why not make a general purpose programing language like c++ but with syntax of a python. Mojo is not a general purpose programming language it is used in ai.
@ithaca2076 Жыл бұрын
HEADS UP: If you're on Windows using the windows linux subsystem, make sure you're on WSL version 2!! Save yourself 5 hours of debugging...
@baldeagle6531 Жыл бұрын
still does not work, goofy bill gates can't make windows 11 work properly. I just use jupyter notebook and that's it.
@mikstevan11 ай бұрын
There are a couple things that are not 100% correct throughout the video, so take care.
@kalcheat10 ай бұрын
Fully agree. Like training models will not become faster, since the DL libraries are written in C++ currently and just provide python bindings 🤦🏼♂
@АлінаПіменова9 ай бұрын
cool video)
@RakeshRaj-t8q8m Жыл бұрын
Want an course on verilog tutorials
@SarcTiann Жыл бұрын
Great tutorial! hm I think your read_only banana methods could use (self: Self) instead of (self, rhs: Banana)
@contasfinalcontasfinal Жыл бұрын
how to paste at ubunto envirment??????? ctrl v or ctrl shift v dont wor
@georgetherium Жыл бұрын
Hi, I already installed Mojo SDK, but when I run the code, it shows this "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. If you do not have it installed, would you like to install it?" Anyone can help to solve this issue? Thank!
@Lagiacrus1996 Жыл бұрын
Have you fixed this? If not then lmk and ill give you my solution
@georgetherium11 ай бұрын
I have tried, but all are failed. My computer is MacOS Monterey 12.6.5. How would you fix it ? @@Lagiacrus1996
@crazystar47229 ай бұрын
Tell me if you are still having doubt
@078farhanaamin29 ай бұрын
@@Lagiacrus1996 can you plz tell me how did you solve this issue