Mojo is a programming language designed to combine the performance of Ca and the usability of Python, for the needs of initiatives and tasks related to artificial intelligence, which require a high-performance system.
Last week, the company behind Mojo, Modular, announced that it would open source the language’s core modules using the Apache 2 license.
“We always believed that building Mojo in the open will lead to a better result, as it allows its design to be shaped by feedback from the wider community. We released Mojo very early and have been running continuous improvements since May 2023 (see change log). Building a language and its infrastructure is hard work and takes time, and we’re excited to move from sharing our work to collaborating with Mojo developers around the world,” wrote Modular in blog post.
Since Mojo is a superset of the Python language, its syntax will be very familiar to Python developers. However, it also includes system programming features such as strong type checking, memory safety, and next-generation compiler technologies.
“The Mojo language has lofty goals: we want full compatibility with the Python ecosystem, we want predictable low-level performance and low-level control, and we need the ability to deploy subsets of code to accelerators. Additionally, we don’t want to create a fragmented software ecosystem—we don’t want Python users who adopt Mojo to draw comparisons to a painful migration from Python 2 to 3,” Mojo documents he says.