What is Mojo?

Mojo is a programming language which could become a superset of Python

Phil Siarri


Image of programming language
Image by Markus Spiske from Pixabay

Mojo is a novel programming language that combines Python syntax and environment with systems programming and metaprogramming techniques. Such aims to bridge the gap between research and production and is intended to evolve into a superset of Python. As a reminder: Python is a popular, high-level, general-purpose language. Its design philosophy focuses on code readability

The creators of Mojo had no intention of creating a new programming language. “But as we were building our platform with the intent to unify the world’s ML/AI infrastructure, we realized that programming across the entire stack was too complicated,” they mentioned in a blog post.

Mojo aims to combine the usability of Python with the performance of C, potentially enabling programmability of AI hardware and extensibility of AI models. Furthermore, it strives to bring full Python ecosystem compatibility, predictable low-level performance and control, and the ability to deploy sections of code to accelerators.

Several Mojo use cases include:

Reference list:

Info. (n.d.). Bing Chat. https://www.bing.com/

Modularml. (n.d.). GitHub — modularml/mojo: The Mojo Programming Language. GitHub. https://github.com/modularml/mojo

Wikipedia contributors. (2023f). Python (programming language). Wikipedia. https://en.wikipedia.org/wiki/Python_(programming_language)

Wikipedia contributors. (2023f). Metaprogramming. Wikipedia. https://en.wikipedia.org/wiki/Metaprogramming

Modular Docs — Why Mojo. (n.d.). https://docs.modular.com/mojo/why-mojo.html

Mojo: Programming language for all of AI. (n.d.). https://www.modular.com/mojo

Wikipedia contributors. (2023f). Hardware acceleration. Wikipedia. https://en.wikipedia.org/wiki/Hardware_acceleration

Wikipedia contributors. (2023h). High-performance computing. Wikipedia. https://en.wikipedia.org/wiki/High-performance_computing

Wayner, P. (2022, September 22). What is AI hardware? How GPUs and TPUs give artificial intelligence algorithms a boost. VentureBeat. https://venturebeat.com/ai/what-is-ai-hardware-how-gpus-and-tpus-give-artificial-intelligence-algorithms-a-boost/

Techopedia. (2017, February 14). What is Extensible? — Definition from Techopedia. https://www.techopedia.com/definition/7107/extensible



Phil Siarri

Founder of Nuadox | Tech & Innovation Commentator | Digital Strategist | MTL | More about me> linktr.ee/philsiarri