We have the answers to your questions! - Don't miss our next open house about the data universe!

Mojo, the programming language revolution

- Reading Time: 2 minutes
Mojo, the programming language revolution

The AI infrastructure company Modular has launched Mojo, a programming language that aims to combine Python with the performance of C.

What is Mojo?

Mojo is an innovative programming language that seeks to accelerate the development of future machine learning models. But, as processors are also equipped with AI accelerators, Modular decided that Mojo should support general programming and therefore the Python language.

Mojo is designed as a superset of Python and is compatible with existing Python programs. Basic Python features are supported, such as async/await, error handling and variadics, but other aspects of Python, such as classes, are still missing.

 

💡Related articles:

Python Programming for Beginners – Episode 3
Django: All about the Python web development framework
NumPy : the most used Python library in Data Science
SciPy: All about the Python Machine Learning library
PyCharm: all about the most popular Python IDE
Pandas : the Python library dedicated to Data Science

What are Mojo's objectives?

The objectives of the language as a member of the Python family are as follows:

  • Full compatibility with the Python ecosystem.
  • Predictable performance and control.
  • The ability to deploy subsets of code on AI accelerators.
  • Avoid ecosystem fragmentation.

Mojo’s roadmap includes features such as tuple support, which is currently partially implemented. As well as keyword arguments in functions, better support for package management and standard library features such as canonical arrays and dictionary types. Full support for dynamic functions in Python classes is also planned, as is C/C++ interoperability.

The standard Mojo library, compiler and runtime are not yet available for local development. Modular has created a hosted development environment to test Mojo, the Mojo Playground.

Developers must register for access. In addition to this new programming language for AI development, another acceleration solution is being put in place: the creation of vector databases.

If you enjoyed this article and are considering a career in Data Science, don’t hesitate to check out our articles or our training offers on DataScientest.

Source: docs.modular.com

You are not available?

Leave us your e-mail, so that we can send you your new articles when they are published!
icon newsletter

DataNews

Get monthly insider insights from experts directly in your mailbox