- 1
- 2
- Andrei Alexandrescu
- Hardcore punk
- Martin Scorsese
- Mojo (programming language)
- History of programming languages
- Carbon (programming language)
- List of programming languages
- Chris Lattner
- Mojo
- Python (programming language)
- C (programming language)
- Java (programming language)
- Timeline of programming languages
- Mojo : Powerful CPU+GPU Programming - Modular
- Mojo Manual - Modular
- Mojo - Itās finally here! - Modular
- Modular: A Fast, Scalable Gen AI Inference Platform
- Mojo language basics - Modular
- Get started with Mojo - Modular
- Why Mojo - Modular
- Mojo FAQ - Modular
- Mojo roadmap & sharp edges - Modular
- Mojo SDK v0.7 now available for download! - Modular
The Last Samurai (2003)
Rise of the Planet of the Apes (2011)
Sicario: Day of the Soldado (2018)
Indiana Jones and the Last Crusade (1989)
The Passion of the Christ (2004)
Godzilla vs. Kong (2021)
A Quiet Place Part II (2021)
Dawn of the Planet of the Apes (2014)
Rogue One: A Star Wars Story (2016)
Kingdom of the Planet of the Apes (2024)
Mojo (programming language) GudangMovies21 Rebahinxxi LK21
Mojo is a programming language in the Python family that is currently under development. It is available both in browsers via Jupyter notebooks, and locally on Linux and macOS. Mojo aims to combine the usability of a high-level programming language, specifically Python, with the performance of a system programming language such as C++, Rust, and Zig. As of February 2025, the Mojo compiler is closed source with an open source standard library. Modular, the company behind Mojo, has stated an intent to eventually open source the Mojo language, as it matures.
Mojo builds on the Multi-Level Intermediate Representation (MLIR) compiler software framework instead of directly on the lower level LLVM compiler framework, as do many languages such as Julia, Swift, Clang, 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 programming 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. 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 of 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.
In March of 2024, Modular open sourced the Mojo standard library and started accepting community contributions under the Apache 2.0 license.
Features
Mojo was created for an easy transition from Python. The language has syntax similar to Python's, with inferred static typing, and allows users to import Python modules. It uses LLVM and MLIR as its compilation backend. The language also intends to add a foreign function interface to call C/C++ and Python code. The language is not source-compatible with Python 3, only providing a subset of its syntax, e.g. missing the global keyword, list and dictionary comprehensions, and support for classes. Further, Mojo also adds features that enable performant low-level programming: fn for creating typed, compiled functions and "struct" for memory-optimized alternatives to classes. Mojo structs support methods, fields, operator overloading, and decorators.
The language also provides a borrow checker, an influence from Rust. Mojo def functions use value semantics by default (functions receive a copy of all arguments and any modifications are not visible outside the function), while Python functions use reference semantics (functions receive a reference on their arguments and any modification of a mutable argument inside the function is visible outside).
The language is not open source, but it is planned to be made open source in the future.
Programming examples
In Mojo, functions can be declared using both fn (for performant functions) or def (for Python compatibility).
Basic arithmetic operations in Mojo with a def function:
and with an fn function:
The manner in which Mojo employs var and let for mutable and immutable variable declarations respectively mirrors the syntax found in Swift. In Swift, var is used for mutable variables, while let is designated for constants or immutable variables.
Variable declaration and usage in Mojo:
Usage
The Mojo SDK allows Mojo programmers to compile and execute Mojo source files locally from a command-line interface and currently supports Ubuntu and macOS. Additionally, there is a Mojo extension for Visual Studio Code which provides code completion and tooltips.
In January 2024, an inference model of LLaMA2 written in Mojo was released to the public.
See also
List of programming languages for artificial intelligence
References
External links
Official website
Mojo manual
mojo on GitHub
All about mojo programming language
Mojo may be the biggest programming language advance in decades
Mojo: The Future of AI Programming
Kata Kunci Pencarian:

Mojo: Programming language - Combine Python and MLIR | HugTechs

Mojo š„ Programming Language: The Future of AI Development

Exploring the Power of Mojoš„ Programming Language

Exploring the Power of Mojoš„ Programming Language

Exploring the Power of Mojoš„ Programming Language
Mojo: The Programming Language for AI

Learn Mojo Programming Language: Features and Applications

A Complete Guide on Mojo Programming Language

Introduction to Mojo Programming Language: New Era of AI Programming ...

Introduction to Mojo Programming Language: New Era of AI Programming ...

Introduction to Mojo Programming Language: New Era of AI Programming ...

Introduction to Mojo Programming Language - InfoQ
mojo programming language
Daftar Isi
Mojo : Powerful CPU+GPU Programming - Modular
Mojo is an innovative, high-performance programming language designed for writing systems-level code for AI workloads.
Mojo Manual - Modular
Welcome to the Mojo Manual, a complete guide to the Mojoš„ programming language! Mojo is designed to solve a variety of AI development challenges that no other language can, because Mojo is the first programming language built from the ground-up with MLIR (a compiler infrastructure that's ideal for heterogeneous hardware, from CPUs and GPUs ...
Mojo - Itās finally here! - Modular
Sep 7, 2023Ā Ā· Mojo: a high performance 'Python++' language for compute. Mojo is a new programming language for AI developers that will grow into being a superset of Python over time. It already supports integrating with arbitrary Python code seamlessly and has a scalable programming model to target performance-critical systems, including accelerators (e.g ...
Modular: A Fast, Scalable Gen AI Inference Platform
Mojo is Python++. It will be, when complete, a strict superset of the Python language. But it also has additional functionality so we can write high performance code that takes advantage of modern accelerators.
Mojo language basics - Modular
This page provides an overview of the Mojo language. If you know Python, then a lot of Mojo code will look familiar. However, Mojo incorporates features like static type checking, memory safety, next-generation compiler technologies, and more.
Get started with Mojo - Modular
If you haven't heard of it before, don't worry, it will make sense when you see it in action. Let's just get started so you can learn Mojo programming basics, including the following: Using basic built-in types like Int and String; Using a List to manage a sequence of values; Creating custom types in the form of structs (data structures)
Why Mojo - Modular
Because Mojo is designed to adopt the syntax of Python with improved systems programming capabilities, it shares some high-level ideas with other members of the Python family of languages like Pyrex and Cython. Like Mojo, these projects define their own language while also supporting the Python language.
Mojo FAQ - Modular
That being said, the goal is to grow Mojo into a general purpose programming language. We use Mojo at Modular to develop AI algorithms, but you can use it for other things like HPC, data transformations, writing pre/post processing operations, and much more.
Mojo roadmap & sharp edges - Modular
Mojo is still in early development and many language features will arrive in the coming months. We are highly focused on building Mojo the right way (for the long-term), so we want to fully build-out the core Mojo language features before we work on ā¦
Mojo SDK v0.7 now available for download! - Modular
Jan 25, 2024Ā Ā· Mojo SDK v0.7 is the first big release of Mojoš„ in 2024, and itās chock full of new language and standard library feature goodness. In this blog post, Iāll share some of the key highlights from this release with examples, and discuss what they are and when to use them.