Mojo
Mojo is a language created by Chris Lattner (author of LLVM and Swift) as a superset of Python aimed at the AI era. It promises to combine Python's ease with near-C performance, leveraging modern hardware (CPU, GPU) through MLIR.
- Creado por Chris Lattner (Modular)
- Año 2023
- Paradigma: Multi-paradigm · compiled
- Extensiones: .mojo, .🔥
Para qué se usa
- Artificial intelligence
- High-performance computing
- Accelerating Python
A favor
- Fast like C, easy like Python
- Designed for AI
- Leverages CPU and GPU
En contra
- Very new
- Not fully open yet
- Nascent ecosystem
Ecosistema
- MAX
- Modular
- MLIR
- magic
Ejemplo
fn main():
print("¡Hola, mundo!")