Skip to content
0:00 / 0:00

#mojo#llvm#mlir

2023 LLVM Dev Mtg - Mojo 🔥: A system programming language for heterogenous computing

LLVM

18K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 2 people: 2 on Hacker News.
  • Presented by Chris Lattner, co-founder of Modular
  • Linked in the descriptionSlides on llvm.org
  • Made by the vendor. The company whose product it covers made or sponsored it.

Intermediate. Assumes working knowledge.

60K views2 years ago2 recommendations

Programming languagesSystems programmingLanguage design and type systemsCompilers and interpretersPerformance and optimization

Chris Lattner, Abdul Dakkak, and Jeff Niu introduce Mojo, a systems programming language designed to combine Python's usability with C++ performance.

2023 LLVM Developers' Meeting llvm.org/devmtg/2023-10 ------ Mojo 🔥: A system programming language for heterogenous computing Speaker: Abdul Dakkak, Chris Lattner, Jeff Niu ------ Slides: llvm.org/devmtg/2023-10/slides/keynote/Mojo.pdf ----- This talk will give an overview of Mojo 🔥, a new programming language in the Python family built on MLIR and LLVM. Mojo aims to bridge the programmability and performance gap in systems programming by combining Python’s ergonomics and ecosystem with C++ and CUDA-level performance into a single language. We will describe how Mojo leverages the MLIR and LLVM infrastructures to provide meta-programming, user-defined code transformations, hardware backends, adaptive compilation, and auto-tuning to enable developers to achieve performance without sacrificing programmability. ----- Videos Edited by Bash Films: BashFilms.com

Why it's here

2 people recommend this

What people say. Recommended for its deep dive into Mojo's architecture, compilation model, and how it leverages MLIR for parallel compilation.

nickysielickion Hacker News • Recommends

On “The Next Big Step in Mojo Open Source”

…taking itself too seriously. 3. Many people have tried to make Python fast and failed, and that was my naive take on it, and despite the fact that LLVM allstars were working on it, it seemed like a lofty goal. 4. Closed source programming languages usually suck. They presented at the LLVM conference in 2023 and this video totally changed my view: link to this video There are some fascinating ideas here, I’m especially excited about what could come from their templated IR. Recommend others give it a watch if they’re confused on why they should pay attention to this project.…

MohamedMabroukon Hacker News • Recommends

On “Mojo 1.0 Is Here”

I think they had a good dive here link to this video The gist is that MLIR (unlike LLVM) was designed to be multithreaded so the whole stack above LLVM IR is parallel, and then LLVM is used as a per-function codegen tool in parallel, so although LLVM itself is single threaded there are multiple seperate contexts of it. also I think they wrote their own linker.

zoogenyon Hacker News • Mentions

On “Show HN: Error return traces for Go, inspired by Zig”

…ly reason obviously). I too felt the same as you, but as a distant admirer of Zig. I totally understand that operator overloading can be misused. But I have an intuition that at least providing operators for linear algebra (and probably complex/quaternion) is a really important feature for any languages from this point in history going forward. 1. link to this video…

melodyogonnaon Hacker News • Mentions

On “ML needs a new programming language – Interview with Chris Lattner”

They've given a talk abut this on the LLVM dev meeting: link to this video They have some fancy tech around compile-time interpreter, mojopkg, and their code generator. They also have a graph compiler (not mentioned in the talk) that can fuse kernels written in Mojo.