Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Mojo Language SDK Available: Mojo Driver, VS Code extension, and Jupyter Kernel

Mojo Language SDK Available: Mojo Driver, VS Code extension, and Jupyter Kernel

The Mojo SDK is available for developers. This latest release of the "high performance 'Python++' language for computing" contains the mojo driver, the Visual Studio Code extension and the Jupyter kernel. For now, the SDK is available for MacOS and Linux. 

Some time ago, Chris Lattner and his team presented a new programming language called Mojo. Firstly, Modular shared only the Mojo Playground, where developers could explore and play with this language. The next step, which has just happened, is about getting access to local downloads, beginning with Linux and Mac systems. The Windows release is supposed to be ready soon. 

Mojo Playground is an introduction to the language. The local development toolkit, on the other hand, provides access to Mojo's full capabilities, including a full set of compiler features and IDE tools that make it easy to create and develop applications.

This first release of the Mojo SDK includes such tools as the mojo driver, the extension for Visual Studio Code and the Jupyter kernel. 

Mojo driver provides a shell and enables the building and running of Mojo applications, packaging of Mojo modules, generating docs, and formating code. 

Visual Studio Code Extension contains some productivity features:

  • Syntax Highlighting

  • Diagnostics and Fixits

  • Definitions and References

  • Hover help

  • Formatting

  • Code Completion

Mojo SDK is available on Mac and Linux systems. The language creators share some benchmarking with using Mojo on MacOS. They use one of the example repositories and run a matrix multiplication example. The results were the following: 

Mojo can fully utilise Mac CPU cores and vector units to achieve these speedups.

Mojo is generating a lot of excitement among the data science community. The announcement of the Majo SDK has received very positive feedback. It can be seen under Modular's post on LinkedIn. In addition, there are also questions about whether the Mojo project will become open-sourced:

Performance looks great but..

When will Mojo become open source?

What happens if Modular is acquired / ceases to exist?

Reason for asking is to prevent future lock-ins (people migrating away from python and finding themselves with a limited version or having to pay for mojo).

Mojo SDK can be downloaded from the official Modular website

About the Author

Rate this Article