Skip to content
0:00 / 0:00

#mojo#chrislattner#mlir

Mojo Lang - Tomorrow's High Performance Python? (with Chris Lattner)

Developer Voices

35K subscribers • 14 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Hacker News.
  • Presented by Chris Lattner, creator of Swift, LLVM, and Mojo

Intermediate. Assumes working knowledge.

63K views2 years ago1 recommendation

Programming languagesSystems programmingPythonLanguage design and type systemsCompilers and interpreters

Chris Lattner discusses the design of Mojo, explaining how it combines Python compatibility with low-level performance using LLVM and MLIR.

Mojo is the latest language from the creator of Swift and LLVM. It’s an attempt to take some of the best techniques from CPU/GPU-level programming and package them up in a Python-compatible syntax. In this episode we explore why the Mojo programming language was created, and what it offers to Python programmers and non-Python programmers alike. How is it built for performance, and which performance features matter? What’s its take on functional programming and type systems? And can it marry the high-level programming of Python with the low-level programming of LLVM/MLIR? If you’re a Python programmer who needs better performance, a C programmer who expects more from a ‘scripting language’, or just someone who’d be happier if Python had a first-class type system, Mojo might well be for you… – Mojo: modular.com/max/mojo Mojo’s Roadmap: docs.modular.com/mojo/roadmap.html The Mojo Discord: discord.com/invite/modular MLIR: mlir.llvm.org/ Chris’s Talks: nondot.org/sabre/Resume.html#talks Chris on Twitter: twitter.com/clattner_llvm Kris on Mastodon: mastodon.social/@krisajenkins Kris on LinkedIn: linkedin.com/in/krisjenkins/ Kris on Twitter: twitter.com/krisajenkins – #software #podcast #mojolang #ml #pythonml

Why it's here

1 person recommends this

What people say. Recommended for its deep dive into Mojo's design, MLIR, and how it achieves high performance while maintaining Python compatibility.

GeekyBearon Hacker News • Recommends

On “Deep Dive into Ownership in Mojo”

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 interview with Chris Lattner discussing Mojo in much more generalized terms: link to this video

adeptimaon Hacker News • Mentions

On “Reproducing GPT-2 in llm.c”

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) link to this video Andrej Karpathy and Chris Lattner collab is on my wishlist ;)

FrustratedMonkyon Hacker News • Mentions

On “Alibaba's new AI chip: Key specifications comparable to H20”

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 like 'well technically, the mojo parts are compiled differently', or something. You say you worked there, but you're not even looking at their website. Creator Chris Lattner discussing why they used Python. link to this video Start at minute 12. "Mojo is a very extended version of Python".