Lably
Skip to content

Mojo (programming language)

Programming language for AI accelerators

  • 6 min read
  • 3 chapters

Related on Lably

Through Syntax (programming languages), Python (programming language) and Subset

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).

Origin and development history

The Mojo language was created by Modular Inc, which was founded by Chris Lattner, the original architect of the Swift programming language and LLVM, and Tim Davis, a former Google employee. The intention behind Mojo is to bridge the gap between Python’s ease of use and the fast performance required for cutting-edge AI applications.

According to public change logs, Mojo development goes back to 2022. In May 2023, the first publicly testable version was made available online via a hosted playground. By September 2023 Mojo was available for local download for Linux and by October 2023 it was also made available for download on Apple's macOS. The SDK included a command-line driver, a Visual Studio Code extension, and a Jupyter kernel.

In March 2024, Modular open sourced the Mojo standard library and started accepting community contributions under the Apache 2.0 license.

In December 2025, Modular published a roadmap toward a 1.0 release, stating that Mojo 1.0 would stabilize core language features and that additional features, such as a match statement and enums, would follow in 1.x releases. On 7 May 2026, Modular released Mojo 1.0.0 beta 1 and launched the language's website, mojolang.org. On 11 August 2026, Modular released Mojo 1.0.0, and one week later on 18 August 2026, Modular open-sourced the Mojo compiler under the Apache 2.0 license.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication