Mojo (programming language)
| Mojo | |
|---|---|
| Paradigms |
|
| Family | Python |
| Designed by | Chris Lattner |
| Developer | Modular Inc. |
| First appeared | 2023 |
| Stable release | 1.0.0
/ August 11, 2026 |
| Typing discipline | |
| OS | Cross-platform: Linux, macOS |
| License | Mojo language: Apache License 2.0 with LLVM exceptions; Mojo standard library: Apache License 2.0 with LLVM exceptions |
| Filename extensions | .🔥 (the fire emoji/U+1F525 Unicode character), alternatively .mojo |
| Website | mojolang |
| Influenced by | |
| Python, Cython, C, C++, Rust, Swift, Zig, CUDA, MLIR | |
Mojo is a programming language for Linux and macOS. It is a systems programming language with semantics inspired by Rust such as static typing and a borrow checker, but uses a syntax designed to be reminiscent of Python (like Nim and Julia). It was originally intended to be a superset of Python, but this goal has been either abandoned or postponed indefinitely as of March 2026. In May 2026, Modular launched a website for the language and in August 2026 Modular released Mojo 1.0, declaring it open source.
Mojo builds on the Multi-Level Intermediate Representation (MLIR) compiler software framework, instead of directly on the lower level LLVM compiler framework used by languages like Julia, Swift, C++, and Rust. MLIR is a newer compiler framework that allows Mojo to exploit higher level compiler passes unavailable in LLVM alone, and allows Mojo to compile down and target more than only central processing units (CPUs), including producing code that can run on graphics processing units (GPUs), Tensor Processing Units (TPUs), application-specific integrated circuits (ASICs) and other accelerators. It can also often more effectively use certain types of CPU optimizations directly, like single instruction, multiple data (SIMD) with minor intervention by a developer, as occurs in many other languages. According to Jeremy Howard of fast.ai, Mojo can be seen as "syntax sugar for MLIR" and for that reason Mojo is well optimized for applications like artificial intelligence (AI).