Is This Language Replacing Python?!

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • 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

Komentáře • 279

  • @TechWithTim
    @TechWithTim  Před rokem +14

    Make sure to enter the Docker swag giveaway by joining my discord server! discord.gg/twt

    • @Stopinvadingmyhardware
      @Stopinvadingmyhardware Před rokem

      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  Před rokem +7

    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 Před rokem

      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 Před rokem +15

    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 Před rokem

    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 Před rokem +18

    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.

  • @evanfreethy2574
    @evanfreethy2574 Před rokem +85

    The guy who invented Swift and LLVM is leading the Mojo project. It's going to be really big

    • @JohnABrady
      @JohnABrady Před rokem +7

      Lex Friedman has a good interview with Chris Lattner the project lead mentioned.

    • @Timely7
      @Timely7 Před rokem +1

      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 Před rokem

      @@JohnABradyThat’s not a real person

    • @cipher01
      @cipher01 Před rokem +1

      ​@@Stopinvadingmyhardware ?????

    • @vectoralphaSec
      @vectoralphaSec Před rokem +2

      ​@@cipher01he means he's a robot.

  • @paulthomas1052
    @paulthomas1052 Před rokem +10

    Looks pretty interesting - I'd be interested in seeing the benchmark code running on my MBP. 😏

  • @m.ehtizan
    @m.ehtizan Před rokem +1

    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 Před rokem +2

    I think the struct and fn are useful performance enhancement features even for regular python devs.

  • @AchwaqKhalid
    @AchwaqKhalid Před rokem +8

    The "GiL" global interpreter lock will be "unlocked" in *Python 3.12* 🔓

  • @fadl2009gh
    @fadl2009gh Před rokem +1

    Love your content :)

  • @wickeddubz
    @wickeddubz Před rokem +2

    Tim, how about Nim? Do you have any experience with it?

  • @AdnanTahirofficial
    @AdnanTahirofficial Před rokem +7

    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 Před rokem +2

      I'd like to see a comparison of compile methods and times.

  • @momahdy
    @momahdy Před rokem +1

    Dude, even your ads are useful!

  • @Gabirell
    @Gabirell Před rokem

    Great video. I think you should make more videos about mojo 😊

  • @Alylaxy
    @Alylaxy Před rokem +2

    Hope it doesnt gets forgotten like Nim

  • @fabricehategekimana5350
    @fabricehategekimana5350 Před rokem +1

    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

  • @peterm9893
    @peterm9893 Před rokem +7

    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 Před rokem +2

      Availability of Java Devs? GO or Rust yea. Not many of them, but Java devs pool is very big.

    • @vectoralphaSec
      @vectoralphaSec Před rokem +1

      ​@nieczerwony honestly Java devs need to move on to Kotlin. It's superior to Java in everyway.

    • @neunzehnvierundachtzig
      @neunzehnvierundachtzig Před rokem

      I assume you used FastApi? Its pretty cool and flexible. Python is created for Flexibility.

  • @nwchrista
    @nwchrista Před rokem

    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 Před rokem

    I am really lucky with the shorts vid,
    this is exactly what I needed

  • @antonioferraro7972
    @antonioferraro7972 Před rokem +6

    Are there any hints about what will be their licensing model?

  • @bechirzouaoui5821
    @bechirzouaoui5821 Před rokem

    What a nice présentation !! Very good 🎉🎉

  • @MrQlife
    @MrQlife Před rokem +6

    Now is the time that we will discover that Python is plenty fast and more than performant enough for most of us

  • @igorfazlyev
    @igorfazlyev Před rokem +4

    What about MIT's Julia? It was supposed to kill Pyton several years ago

    • @muhammadzainabbasbaloch3200
      @muhammadzainabbasbaloch3200 Před rokem

      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 Před rokem +1

      @@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 Před rokem

    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 Před rokem

    10:45 inout is an interesting keyword for pass by reference haha! I came for the fire emoji file extension 🔥

    • @Joshua-sp1kd
      @Joshua-sp1kd Před rokem

      And then you have def and fn controlling this as well… 🔥

  • @kameikojirou
    @kameikojirou Před rokem +1

    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 Před rokem

      Does RUST allow hyperthreading?

    • @kameikojirou
      @kameikojirou Před rokem

      @@nwchrista fearless concurrency and parallelism.

  • @frostsmaker8966
    @frostsmaker8966 Před rokem +4

    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 Před 4 měsíci

    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 Před rokem

    This sounds like a game-changer!

  • @neildutoit5177
    @neildutoit5177 Před rokem +2

    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 Před rokem +1

      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 Před rokem +1

      ​@@pierreollivier1Didn't understand a lot of what you said, but YES!

  • @kidush4623
    @kidush4623 Před rokem

    one more con for python: considered easy to reverse engineer the compiled program. while in binaries such as c/go its harder

  • @RenderingUser
    @RenderingUser Před rokem +1

    Most likely will
    Especially considering there is 0 merit to use python over mojo other than compiling vs interpreting work flow

  • @markpender5286
    @markpender5286 Před rokem

    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 Před rokem

    I really hope that this will work

  • @nieczerwony
    @nieczerwony Před rokem +1

    Simple syntax + C performance? Isn't that what Go is? Or at least what it suppose to be?

  • @Theeoldmann
    @Theeoldmann Před rokem +1

    Mojo seems promising, there was a recent Lex Friedman talk with the dev guy.

  • @caw25sha
    @caw25sha Před rokem +57

    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  Před rokem +10

      agreed, a lot more we still need to learn

    • @repairstudio4940
      @repairstudio4940 Před rokem +6

      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 Před rokem +2

      @@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 Před rokem +6

      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 Před rokem +24

      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 Před rokem +7

    I wonder how they'll bring these performance improvements to packages which are pip installed 😩

    • @caw25sha
      @caw25sha Před rokem +3

      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 Před rokem

      @@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 Před rokem

      @@badrenanna3961 they already exists pypy, cython etc

  • @agustinpena2752
    @agustinpena2752 Před 11 měsíci

    Tim, will you do a Mojo tutorial for beginners, please?

  • @gugugaga5867
    @gugugaga5867 Před rokem +1

    Ohh my god. What happened to my boy. Went from 16 to 30 in just a couple of years.

  • @mr.quantum1518
    @mr.quantum1518 Před rokem +1

    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 Před rokem +1

      I don't think they will add pointers because devs are "scared" of these 😅

    • @neunzehnvierundachtzig
      @neunzehnvierundachtzig Před rokem

      I think its better to use C/C++ at that point.

  • @Jackripster69
    @Jackripster69 Před rokem +75

    Seems the real question is, will Python + Mojo replace everything else?

    • @demyk214
      @demyk214 Před rokem +17

      No

    • @raidensama1511
      @raidensama1511 Před rokem +10

      Python + Mojo: replace everything.
      Rust: hold my beer

    • @mattiamarchese6316
      @mattiamarchese6316 Před rokem +3

      @@raidensama1511 I kinda want to rewrite Mojo in Rust.

    • @wickeddubz
      @wickeddubz Před rokem +2

      Definitely not. Application specific languages will always be better in certain cases

    • @MagnusAnand
      @MagnusAnand Před rokem

      Nope

  • @DallasFort1857
    @DallasFort1857 Před rokem

    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 Před rokem +1

    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 Před rokem +4

    Sounds like Python with a Rust sauce over it.

    • @andrewdunbar828
      @andrewdunbar828 Před rokem

      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 Před rokem +8

    Make julia tutorials

  • @icaruscarinae
    @icaruscarinae Před rokem +1

    35,000x sounds physically impossible. Not even c++ is that much faster.

  • @AmodeusR
    @AmodeusR Před rokem +6

    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 Před rokem +1

      Does your algorithm use memoization?

    • @AmodeusR
      @AmodeusR Před rokem

      @@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 Před rokem

    What are your thoughts on CODON?

  • @jackjrz8422
    @jackjrz8422 Před rokem

    What if Python will make the dynamic type and static type co-exists?

  • @harryhack91
    @harryhack91 Před rokem +1

    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 Před rokem +1

      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 Před rokem

    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 Před rokem +3

    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.

  • @greatreset4118
    @greatreset4118 Před rokem

    Yes it is. I'm so greatful python existed but Im sooo excited about MOJO!

  • @mehdismaeili3743
    @mehdismaeili3743 Před rokem

    Excellent.

  • @HostileRespite
    @HostileRespite Před rokem +1

    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 Před rokem +1

    Julia, I believe will take over in the long term...

  • @veggiebroth5542
    @veggiebroth5542 Před rokem +4

    Lol does docker really need advertisements?

  • @Sunil-zi4gr
    @Sunil-zi4gr Před rokem

    how about comparing go and mojo? any comments?

  • @ilyas7610
    @ilyas7610 Před rokem +2

    What about Julia programming language?

  • @momentomoridoth2007
    @momentomoridoth2007 Před rokem +2

    I have been using NIm lately. the syntax is different from python, but just as elegant, and it has bare metal performance.

    • @adilhasan7035
      @adilhasan7035 Před rokem

      Yes, I immediately thought about Nim that would be a better replacement for python. I was also wondering about Zig as well.

  • @srali7609
    @srali7609 Před 8 měsíci

    Do you think Mojo could be used for Mobile app dev?

  • @danbailey9591
    @danbailey9591 Před rokem

    This looks promising - definitely want to use it for command line tools and desktop apps.

  • @Ashwin_1198
    @Ashwin_1198 Před 10 měsíci

    Hey tim mojo is now available to download, plz make a tutorial video on it

  • @maikelfm9520
    @maikelfm9520 Před rokem

    I'll believe it when I see it. There's a reason peer reviews exist

  • @cbbcbb6803
    @cbbcbb6803 Před rokem

    Some of us do not like the syntaxe of python. Hard to believe, but true.

  • @djtomoy
    @djtomoy Před rokem

    I’ll stick with Commodore BASIC for a bit longer I think

  • @ramforinh
    @ramforinh Před rokem +3

    We definitely need yet another language claiming to be better than Python.

  • @ammornil
    @ammornil Před rokem +2

    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 Před rokem +1

      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 Před rokem

    Interesting times we living in

  • @mahmoudshihab
    @mahmoudshihab Před rokem

    Can you compare Mojo and Julia?

  • @driveDoses
    @driveDoses Před 8 měsíci

    Finally I can leave my python to its orginal place in jungle and welcome Mojo

  • @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 Před 10 měsíci

      100%
      The fact that you don't need to learn another language with a different syntax is the sticking thing for me.

  • @SkyFly19853
    @SkyFly19853 Před rokem

    But what about Cython or other c extensions for Python ?
    Aren't they important ?

    • @neildutoit5177
      @neildutoit5177 Před rokem +1

      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 Před rokem

      @@neildutoit5177
      There is even IronPython by C# extension.
      Why NOT people talk about it ?

  • @Antilli
    @Antilli Před rokem

    Mojo looks a lot like Solidity.

  • @ingoos
    @ingoos Před rokem +11

    Meantime, try the Julia Programming Language. As fast as C/Fortran... looks like Python.

  • @gudchoice
    @gudchoice Před 3 měsíci

    my question is, is it true a colon can never be overloaded?❤

  • @nccamsc
    @nccamsc Před rokem

    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 Před rokem +3

    If it's the same as Python, it can't be a replacement?

    • @omairtech6711
      @omairtech6711 Před rokem +4

      Not the same language, but shares the same syntax.

    • @AmpersAndAI
      @AmpersAndAI Před rokem +2

      IF, which it isnt

    • @caw25sha
      @caw25sha Před rokem +4

      It's a superset of Python with additional language features which Tim describes in this video.

  • @aladinmovies
    @aladinmovies Před rokem

    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 Před rokem +2

    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  Před rokem +1

      well u cal also just use "mojo", it think its for just a gimmick, but it does work

  • @CaribouDataScience
    @CaribouDataScience Před rokem

    Is it open source?

  • @mostafaghobashy2724
    @mostafaghobashy2724 Před 10 měsíci

    mojo is now available locally
    this is 18/9/2023

  • @Kyreq
    @Kyreq Před rokem

    You shoud have mentioned that docker desktop itself is not completely free.

  • @mickolesmana5899
    @mickolesmana5899 Před rokem

    finally i can Sjoin 100000 rows of GIS shape in 10 minute

  • @woolfel
    @woolfel Před rokem

    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 Před rokem

    Yes

  • @potheker
    @potheker Před rokem

    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 Před 5 měsíci

    cool video)

  • @jorge1869
    @jorge1869 Před rokem +2

    Love Python ❤.

  • @Cookinbk
    @Cookinbk Před rokem

    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 Před rokem

    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

    no

  • @444haluk
    @444haluk Před rokem

    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 Před 10 měsíci

    I'd rather spend my time learning mojo than learning C/C++, the syntax of these langauges is waaay more complicated.

  • @AvidAfrican
    @AvidAfrican Před rokem

    With all these i am confused of what to learn

  • @HuyNguyen-vp7eb
    @HuyNguyen-vp7eb Před rokem

    They write a same code but its a different language, something like English and America-ish :)))

  • @NipkowDisk
    @NipkowDisk Před rokem

    I think Python is more or less the BASIC of the 21st century, and much more versatile.

  • @jaimebaron3299
    @jaimebaron3299 Před rokem

    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 Před rokem +1

      Lol 2x. It's touted as much as 35,000x faster.