Mojo Lang - Tomorrow's High Performance Python? (with Chris Lattner)
Channel:Developer Voices · Length:1:24:38 · Published:2024-05-01 · Views:63842
Summary
Developer Voices interviews Chris Lattner about Mojo, a Python-compatible language aimed at CPU/GPU performance built on LLVM and MLIR. It covers performance features, the type system and why Mojo uses Python syntax.
Why HN recommends it
Pointed to as a general-purpose interview on Mojo's goals and design from its creator.
Here's an interview with Chris Lattner discussing Mojo in much more generalized terms — HN, 2024
Programming language design · Python, Ruby & scripting languages · Compilers, interpreters & program analysis
Subtitles (excerpt)
Could Python become a high-performance parallel programming language? That seems unlikely. I mean, there are some fundamental architectural reasons why that feels like a bigger shift than Python 2 to Python 3, and that was a big enough shift already. But I raised the question so that I can flip it on its head. Could a high-performance parallel programming language become Python? That to me seems more reasonable. Start with a low-level, compiler-level language. Do your performance work. Figure out those parts. And then when you build up into user space and choose a syntax, why not Python? Now that broadly is the approach taken by the new language Mojo and its creator, Chris Latner. If you've not heard of Chris, I'm certain you've heard of his work. He created LLVM. He created Clang, the other big C C++ compiler. He created Swift, the language of shiny Apple products everywhere. He has serious form in language design, and he's one of the few people I know that actually could run the gauntlet from Python syntax all the way down to CPU and GPU and back. And he has some really interesting ideas for his latest language, like "Let's do Python but bring in a gradual type system. Let's make parallelization a
On Hacker News
Some more generalized information to get started with: MLIR was spearheaded by the same person who created LLVM, to add additional features that Google needed to build compilers for its in-house hardware AI accelerators. Mojo is a new language that takes advantage of the new features enabled by MLIR, in the same way that Swift took advantage of the features previously enabled by LLVM. Here's an i… — GeekyBear, 2024-06
From Docs, [LINK] "This is 100% compatible because we use the CPython runtime without modification for full compatibility with existing Python libraries." At this point you need to either explain your objection, or just admit you are a troll. You haven't actually at any point in this exchange offered any actual argument beyond 'duh, you're wrong'. I'd be ok if you actually pointed to something li… — FrustratedMonky, 2025-09
Andrej Karpathy karpathy is a magician! But being the coolest kid on the block with pure C/CUDA implementation is not enough [LINK] Studying a baby Llama 2 model source code in pure Mojo is the next level [LINK] [LINK] Mojo Lang - Tomorrow's High Performance Python? (with Chris Lattner) [VIDEO] Andrej Karpathy and Chris Lattner collab is on my wishlist ;) — adeptima, 2024-05
Related videos
- Avie Tevanian: CMU math whiz goes from Mach to NeXT to Apple Software Chief | Oral History Part 1 · Computer History Museum · 2:31:38
- Steve Jobs President & CEO, NeXT Computer Corp and Apple. MIT Sloan Distinguished Speaker Series · MIT Video Productions · 1:12:53
- [60 fps] The Flying Train, Germany, 1902 · Denis Shiryaev · 3:47
- Epic v Apple: Judgment Day - Who Won? Who Lost? ...and Why? (VL538) · Hoeg Law · 2:26:21
- The Smartphone CPU Review You NEED to Watch! · Geekerwan · 26:13
- [4k, 60 fps] San Francisco, a Trip down Market Street, April 14, 1906 · Denis Shiryaev · 14:22
- Windows "SUCKS": How I'd Fix it by a retired Microsoft Windows engineer · Dave's Garage · 16:09
- Oral History of Dave Cutler Part 1 · Computer History Museum · 1:44:36
- VCF East: Xerox Star vs. Apple Lisa · Vintage Computer Federation · 42:38
- How I Upgraded My iPhone Memory 800% - in Shenzhen, China · Strange Parts · 31:01
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45