Mojo is a new programming language for AI developers from Modular, the company co-founded by Chris Lattner, creator of Swift and LLVM. It is designed as a superset of Python, so Python programmers can start using it quickly, while combining Python's usability with the performance of C to reach speed-ups of up to 35,000 times over Python. The article explains why Python alone falls short for applied AI systems: high-performance libraries such as NumPy and TensorFlow have to be written in lower-level languages, which makes them hard to build.
It then presents five features: compatibility with the Python ecosystem (including libraries such as NumPy, pandas and Matplotlib, although many Python features were still missing at this early stage); optional strong type checking for performance and error checking; an ownership and borrow checker for memory safety; built-in autotuning to find the best parameter values for the target hardware; and use of MLIR (Multi-Level Intermediate Representation), which lets Mojo exploit vectors, threads and AI hardware units instead of Python's single-threaded execution. Mojo could be tried in a JupyterHub-based playground from Modular.
The Arabic article is a translation of an English article. Read the original: Introduction to Mojo: The Programming Language for AI Which Is 35000x Faster Than Python (Coinmonks, Medium).

