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

  Рет қаралды 16,462

Lex Clips

Lex Clips

Күн бұрын

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

Пікірлер: 46
@LexClips
@LexClips Жыл бұрын
Full podcast episode: kzbin.info/www/bejne/ppWtgmufi7mqoJo Lex Fridman podcast channel: kzbin.info 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.
@juneshasta
@juneshasta Жыл бұрын
Mojo isn't ready yet but like raw cookie dough is still yummy. Unrelated: Nice miniature guitars, especially the Sunburst Fender Stratocaster.
@stevengreidinger8295
@stevengreidinger8295 Жыл бұрын
Why not let this guy be the leader for Python 5, and wrap MoJo technology right in there?
@KonradTamas
@KonradTamas 11 ай бұрын
We still need that slow shit 4 da Sn@!Lz
@nugget7236
@nugget7236 9 ай бұрын
because its a superset not an update
@lutfiikbalmajid
@lutfiikbalmajid 4 ай бұрын
​@@nugget7236also Mojo is compiled language. Just imagine how fast python if it's was compile language, then it is Mojo
@BenjaminScherrey
@BenjaminScherrey 2 ай бұрын
@@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).
@nektariosmusic
@nektariosmusic 9 ай бұрын
Mojo is one of the best programming languages to come out in decades IMO!
@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 Жыл бұрын
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.
@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 2 ай бұрын
@@incremental_failurewell you can write everything in Mojo and thus simplify and speed up development
@mr.daniish
@mr.daniish Жыл бұрын
Excited to see what the mojo team is doing in the ecosystem!
@Swifter101
@Swifter101 11 ай бұрын
It alls boils to having a big integer. Lex Fridman 2023
@SamuelHauptmannvanDam
@SamuelHauptmannvanDam Жыл бұрын
Hear me out. We got Py_script. Give me mojo_script. I would loooove to just run python code in the frontend.
@TheRyulord
@TheRyulord Жыл бұрын
They've expressed interest in wasm support but it's not an immediate priority
@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.
@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.
@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
@JohnWasinger
@JohnWasinger 7 ай бұрын
Can Mojo improve the Global Interpreter Lock (GIL).
@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.
@janklaas6885
@janklaas6885 Жыл бұрын
📍13:36
@oussamawahbi4976
@oussamawahbi4976 Жыл бұрын
python ++
@venkateswarans1012
@venkateswarans1012 Жыл бұрын
Untyped, Dynamic and Beautiful code 😢
@theITGuy-no3nt
@theITGuy-no3nt Жыл бұрын
OOP is so gross, no thanks
@JDalmasca
@JDalmasca Жыл бұрын
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 Жыл бұрын
@@JDalmasca I should have put the /s on that.
@nandoflorestan
@nandoflorestan 2 ай бұрын
What is intolerable... is that Mojo is not even open source. Bleh.
@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 Жыл бұрын
Sometimes even in the case of scripts. It can get pretty difficult to vectorize some stuff.
@JDalmasca
@JDalmasca Жыл бұрын
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 Жыл бұрын
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 KZbin video about Python:
@armincal9834
@armincal9834 Жыл бұрын
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
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 65 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 5 МЛН
Don't use VSCode
35:31
PyCon South Africa
Рет қаралды 216 М.
Future of Python - Guido van Rossum
1:43
The Data Science Channel
Рет қаралды 2,4 М.
PyO3: From Python to Rust and Back Again (with David Hewitt)
1:34:30
Developer Voices
Рет қаралды 9 М.
Mojo: A Supercharged Python for AI with Chris Lattner - 634
1:05:57
The TWIML AI Podcast with Sam Charrington
Рет қаралды 7 М.
Inside Mark Zuckerberg's AI Era | The Circuit
24:02
Bloomberg Originals
Рет қаралды 1 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 783 М.
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 4 МЛН