Тёмный

Can Mojo run Python code? | Chris Lattner and Lex Fridman 

Lex Clips
Подписаться 1,3 млн
Просмотров 16 тыс.
50% 1

Lex Fridman Podcast full episode: • Chris Lattner: Future ...
Please support this podcast by checking out our sponsors:
- iHerb: lexfridman.com/iherb and use code LEX to get 22% off your order
- Numerai: numer.ai/lex
- InsideTracker: insidetracker.com/lex to get 20% off
GUEST BIO:
Chris Lattner is a legendary software and hardware engineer, leading projects at Apple, Tesla, Google, SiFive, and Modular AI, including the development of Swift, LLVM, Clang, MLIR, CIRCT, TPUs, and Mojo.
PODCAST INFO:
Podcast website: lexfridman.com/podcast
Apple Podcasts: apple.co/2lwqZIr
Spotify: spoti.fi/2nEwCF8
RSS: lexfridman.com/feed/podcast/
Full episodes playlist: • Lex Fridman Podcast
Clips playlist: • Lex Fridman Podcast Clips
SOCIAL:
- Twitter: / lexfridman
- LinkedIn: / lexfridman
- Facebook: / lexfridman
- Instagram: / lexfridman
- Medium: / lexfridman
- Reddit: / lexfridman
- Support on Patreon: / lexfridman

Наука

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@LexClips
@LexClips Год назад
Full podcast episode: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-pdJQ8iVTwj8.html Lex Fridman podcast channel: ru-vid.com Guest bio: Chris Lattner is a legendary software and hardware engineer, leading projects at Apple, Tesla, Google, SiFive, and Modular AI, including the development of Swift, LLVM, Clang, MLIR, CIRCT, TPUs, and Mojo.
@stevengreidinger8295
@stevengreidinger8295 Год назад
Why not let this guy be the leader for Python 5, and wrap MoJo technology right in there?
@KonradTamas
@KonradTamas 10 месяцев назад
We still need that slow shit 4 da Sn@!Lz
@nugget7236
@nugget7236 7 месяцев назад
because its a superset not an update
@lutfiikbalmajid
@lutfiikbalmajid 2 месяца назад
​@@nugget7236also Mojo is compiled language. Just imagine how fast python if it's was compile language, then it is Mojo
@BenjaminScherrey
@BenjaminScherrey 28 дней назад
@@nugget7236 Python3 is a backwards incompatible superset of Python2. How would this be different except it is planning on not being backwards incompatible (if possible).
@rannickcauthon1821
@rannickcauthon1821 Год назад
I really praise the wisdom of Chris. I used assembler, c, c++, c#, swift, JavaScript, golang and many more but never found a more elegant language then Python! It is one of the best decisions ever in the programming language world, to not start a new language but build a superset to combine the most elegant with most performant ❤
@raianmr2843
@raianmr2843 10 месяцев назад
They picked Python because of the ecosystem. Chris being experienced in lisps and functional langs I really doubt he would've picked Python had it all boiled down to purely elegance and expressivity.
@juneshasta
@juneshasta Год назад
Mojo isn't ready yet but like raw cookie dough is still yummy. Unrelated: Nice miniature guitars, especially the Sunburst Fender Stratocaster.
@nektariosmusic
@nektariosmusic 7 месяцев назад
Mojo is one of the best programming languages to come out in decades IMO!
@h_maina
@h_maina Год назад
This is a big win for ML and AI considering the fact that every millisecond counts when it comes to running a model. However, I don't see the need for mojo in say something like web development or am I missing something.
@Optimistas777
@Optimistas777 Год назад
Yes you’re missing something. Some of the backend calculations are “hot loops”. If you’re running a massive Python web backend over 1000 servers, switching over to Mojo or Goland would give you massive savings
@incremental_failure
@incremental_failure Год назад
ML stuff only uses Python as a frontend. None of the backend runs in Python. So the speed improvements here would be nearly insignificant.
@CHURCHISAWESUM
@CHURCHISAWESUM 8 дней назад
@@incremental_failurewell you can write everything in Mojo and thus simplify and speed up development
@rezakghazi
@rezakghazi Год назад
Does Mojo supports arbitrary integer as Python does (natively, not using an extra library) but with more speed, as Mojo claims? Or it has cons, the same as the statically typed languages which use bit-related ints. Inventing this type of ints was a fantastic gift to numerical analysis, but the only problem is because they rely on vectors on the compiler side, they need to be faster in huge numbers. If Mojo, as they announced (and I never had a chance to work on it), is 35k faster, this ability can help the concepts.
@SamuelHauptmannvanDam
@SamuelHauptmannvanDam 11 месяцев назад
Hear me out. We got Py_script. Give me mojo_script. I would loooove to just run python code in the frontend.
@TheRyulord
@TheRyulord 11 месяцев назад
They've expressed interest in wasm support but it's not an immediate priority
@mr.daniish
@mr.daniish Год назад
Excited to see what the mojo team is doing in the ecosystem!
@Swifter101
@Swifter101 9 месяцев назад
It alls boils to having a big integer. Lex Fridman 2023
@mr.daniish
@mr.daniish Год назад
Mojo will be for python what typescript is to JS
@KenOtwell
@KenOtwell Год назад
in other words, the best thing that no one uses?
@looming_
@looming_ Год назад
@@KenOtwell Are you really implying that no one uses typescript? Lol
@KenOtwell
@KenOtwell Год назад
@@looming_ Well, I've used it so I can't say no one. ;) But the majority of people working in legacy systems will stick with JavaScript. What's your experience with TypeScript?
@looming_
@looming_ Год назад
@@KenOtwell I have yet to see a production codbase that DEOSN"T use ts.
@KenOtwell
@KenOtwell Год назад
@@looming_ Hmm. I'm betting you're a lot younger than I am. ;) Anyway - I'm glad it caught on. It's just syntactic sugar for JavaScript, but it makes it much easier to work with.
@JohnWasinger
@JohnWasinger 5 месяцев назад
Can Mojo improve the Global Interpreter Lock (GIL).
@nivisvanaka
@nivisvanaka Год назад
Well, I didn't expect the guys of watchmojo getting into programming…
@tasteslikepennies2549
@tasteslikepennies2549 Год назад
That's because they wanted to see my python
@tasteslikepennies2549
@tasteslikepennies2549 Год назад
They did not make any mention of changing their pronouns
@GiantsOnTheHorizon
@GiantsOnTheHorizon Год назад
How nice would it be to have a game engine written with Mojo and using it for scripting?!
@incremental_failure
@incremental_failure Год назад
Types should obviously be enforced. Every newbie likes dynamic typing but it only works when working with simple scripts. Complex stuff requires typing to make any sense.
@oussamawahbi4976
@oussamawahbi4976 Год назад
python ++
@janklaas6885
@janklaas6885 Год назад
📍13:36
@venkateswarans1012
@venkateswarans1012 11 месяцев назад
Untyped, Dynamic and Beautiful code 😢
@theITGuy-no3nt
@theITGuy-no3nt Год назад
OOP is so gross, no thanks
@JDalmasca
@JDalmasca 11 месяцев назад
FP and OOP aren't mutually exclusive, nor are they language specific. It's a fairly crude take to claim that one model of programming is good and the other is not. As with all complex choices, there are tradeoffs to each.
@theITGuy-no3nt
@theITGuy-no3nt 11 месяцев назад
@@JDalmasca I should have put the /s on that.
@robbbieraphaelday999
@robbbieraphaelday999 Год назад
Who actually cares if python is slow. It basically never matters if you’re writing scripts. Genuinely wondering if anyone has had an issue here with python’s speed.
@incremental_failure
@incremental_failure Год назад
Because Python doesn't have to be just for scripts. You can write full complex applications in Python, using Qt as a frontend and any datascience package as a backend. Not everyone wants to switch to C/C++ for production code.
@kejtos5
@kejtos5 11 месяцев назад
Sometimes even in the case of scripts. It can get pretty difficult to vectorize some stuff.
@JDalmasca
@JDalmasca 11 месяцев назад
Lots of programs have high performance requirements, particularly when you get into more demanding, large-scale mathematics. If you're doing matrix multiplication, fast Fourier transforms, vectorized operations/SIMD, etc. these optimizations in compiled languages matter quite a bit. Even more so if you can optimize the instructions for a specific hardware. It even has large real-world consequences, like large changes in computer energy consumption, heat generated in data centers, costs to consumers of those programs... There's a reason C/C++/Rust are used in lots of contexts where this stuff matters. They're better suited to optimizing the task.
@raianmr2843
@raianmr2843 10 месяцев назад
Everyone who knows more than 3 langs, people contributing to python's scientific stack, companies realizing they need to rewrite services to save money, Guido van Rossum himself: Yeah, CPython is slow Some dude in the comment section of every RU-vid video about Python:
@nandoflorestan
@nandoflorestan 23 дня назад
What is intolerable... is that Mojo is not even open source. Bleh.
@armincal9834
@armincal9834 10 месяцев назад
Either this guy is trying too hard to sound like Elon Musk or there is a certain way people act to sound super smart and this guy and Elon are both trying to act that way
Далее
Part 37 - Introduction to Backtracking
4:32
Mojo Is FASTER Than Rust
19:22
Просмотров 110 тыс.
Yuval Noah Harari & Lex Fridman "Meaning of life"
3:09
Java 21 Is Good?! | Prime Reacts
27:08
Просмотров 210 тыс.