DEV Community

Cover image for What is Mojo?
Ekemini Samuel
Ekemini Samuel

Posted on

What is Mojo?

The Collins Dictionary defines Mojo as personal power or influence over people. Other definitions describe it as confidence, energy, self-belief, or the ability to make things happen.

Mojo is an interesting name for a programming language, and that was the first thing that made me curios about Mojo when I discovered it while doing some research.

In this article we are referring to the Mojo programming language developed by Chris Lattner and the Modular team. Mojo was launched on the 2nd of May 2023, and celebrated it's 3rd birthday this year.

If you've heard about Mojo (or not) but aren't quite sure what it is, or why people are excited about it, this article is for you.

Let's begin!

Mojo (the programming language)

The Modular team defines their vision for Mojo like so:

Our vision for Mojo is to be the one programming language developers need to target diverse hardware—CPUs, GPUs, and other accelerators—using Python's intuitive syntax combined with modern systems programming capabilities.

For a while now, Software engineers building AI systems had to choose to either code in Python for simplicity or in C++ and CUDA for performance. With Mojo, those trade-offs don't have to be made.

In simple terms, Mojo is a high performance Python superset programming language powering the next generation of AI infrastructure and making GPU programming accessible to everybody.

This aligns with Modular's mission:

Enable AI to be used by anyone, anywhere

Modular

Mojo is an innovative, high-performance programming language designed for writing systems-level code for AI workloads. It also comes with a fire emoji file extension .🔥— literally.

You can learn more about GPU Programming with Mojo in this video:

💡 The easiest way to think about Mojo is this:

Mojo keeps what software engineers love about Python while making it capable of building the next generation of AI infrastructure, and giving the engineers more control over how their programs run.

Why Mojo?

Today, millions of people use AI every day.

Whether it's ChatGPT helping someone write an email or designing a flyer, Windsurf or Claude Code assisting software engineers, AI is gradually becoming part of everyday life.

Just as social media became mainstream over the last two decades, AI is becoming part of how we work, learn, communicate, and build. Which leads to an important question: What powers all of these AI systems?

Behind every chatbot, recommendation engine, image generator, AI Agent or autonomous system is an enormous amount of infrastructure working together.

There are:

  • Massive data centers filled with GPUs.
  • Servers processing billions of requests.
  • Frameworks serving AI models in real time.
  • Programming languages that tell all of this hardware exactly what to do.
  • People across different fields of work collaborating from different locations in the world.

This is AI infrastructure, the people, software, and hardware foundation that makes AI technology possible.

As AI continues to grow, building this infrastructure efficiently becomes just as important as building smarter models.

Beyond the intelligence of the AI models, we have to consider how efficiently and quickly we can train and deploy the models to fully utilize AI hardware.

Achieving this requires new tools and frameworks such as Mojo and MAX (Modular Accelerated Xecution).

Mojo is a programming language designed for AI technology.

Mojo

It was created by Modular to make it easier for engineers to build software that takes full advantage of modern AI hardware; TPUs, NPUs, GPUs, like the NVIDIA H100, while keeping the simplicity that made Python one of the world's most popular programming languages.

Here's an example of a SIMD-vectorized kernel squaring array elements in place in Mojo

# SIMD-vectorized kernel squaring array elements in place.

def mojo_square_array(array_obj: PythonObject) raises:
    comptime simd_width = simd_width_of[DType.int64]()
    var ptr = array_obj.ctypes.data.unsafe_get_as_pointer[DType.int64]()

    def pow[width: Int](i: Int) {mut ptr}:
        var elem = ptr.load[width=width](i)
        ptr.store[width=width](i, elem * elem)

    vectorize[simd_width](len(array_obj), pow)
Enter fullscreen mode Exit fullscreen mode

You don't need to understand every line of this example yet. The important thing is to see what Mojo is trying to make possible: a programming experience that remains approachable while giving developers much more control over how their code interacts with the underlying hardware.

Then we have MAX, which is Modular's AI framework, designed specifically around high-performance AI inference and deployment. It provides the tools needed to serve generative AI models and deploy them efficiently across different environments, while Mojo provides the programming language and systems-level capabilities underneath the stack.

You can think about it simply: Mojo gives you the programming language. MAX gives you the framework for running AI efficiently.
Together, they are part of Modular's broader vision for building a more unified AI software stack.

MAX is the framework that is natively integrated with Mojo, and is designed specifically for inference rather than training like PyTorch. It delivers incredible performance for serving GenAI models, deploying and scaling with ease.

You can learn more about MAX in the video by Chris Lattner:

Together, Mojo and MAX form an important part of Modular's approach to building modern AI infrastructure. And the story around Modular itself has recently entered a new chapter.

On July 29, 2026, Qualcomm announced that it had completed its acquisition of Modular. Modular is now a Qualcomm company, while Mojo, MAX, and Modular Cloud continue as products and brands. According to Modular and Qualcomm, the acquisition is intended to combine Modular's AI-native software platform with Qualcomm's high-performance, energy-efficient computing platforms and expand the reach of Mojo and MAX across CPUs, GPUs, NPUs, and other hardware architectures.

Modular x Qualcomm

This is an important development for anyone building with Mojo. The technology is no longer being built only by an independent AI infrastructure startup. It is now part of a much larger computing company, while the Modular team continues its work on the software stack.

And for me, that makes the question even more interesting:

Why did Modular decide that the AI industry needed a new programming language in the first place? We will answer this in the article.

Where did Mojo come from?

To understand the origins of Mojo, we must first explore the problem that Modular aimed to solve. Founded in 2022 by Chris Lattner and Tim Davis, Modular sought to create a more unified, efficient, and user-friendly AI infrastructure across various types of hardware.

As the team delved into this challenge, they discovered that the programming layer itself contributed to the issue. AI developers commonly use Python for its productivity and ease of use. However, when they needed to optimize performance and gain closer access to hardware like CPUs and GPUs, they were often forced to switch to lower-level languages such as C++ and CUDA.

This duality created a productivity problem in the AI industry, as developers worked with different tools for performance and ease of use. Modular decided to address this by rethinking the programming language altogether.

What if developers could retain the familiarity and productivity of Python while also gaining the performance and hardware control necessary to construct modern AI infrastructure? This innovative concept led to the development of Mojo.

The thought process behind Mojo is strongly influenced by Chris Lattner, who has a remarkable background in the technology field. He is well-known for creating LLVM and Clang, which are foundational components of modern compiler infrastructure. He also created the Swift programming language, used by millions of Apple's iOS devices.

Mojo was developed as part of Modular's broader effort to making AI and AI infrastructure accessible, bringing together a team with deep experience in programming languages, compilers, systems, and modern hardware.

How to learn Mojo

As with every skill and programming language, it starts with Why.
Why do you want to learn a new programming language? If you've read this far into the article, probably you have an interest in the Mojo Programming language, that's great!

The Modular team is currently running a Mojo 101 series, which started on the 9th of July (my birthday)😎

It's a great way to learn the basics of Mojo and how to get started building with Mojo. Check out the Mojo 101 series here:

Thanks to the Modular team for this series! 😎

There's also a talk by Chris Lattner on how Mojo & MAX contributes to a modern AI-first software development ecosystem

You can explore the official Mojo documentation and start experimenting with the language yourself.

You don't need to understand everything before you start, just get started, one day at a time.

Mojo Africa

Mojo Africa is a platform and community, where we are building the future of AI infrastructure in Africa, and educating on Mojo, the programming language for AI, GPUs, and MAX, the next-generation AI framework.

We launched in March 2025, and in 16 months, we've had two Mojo Africa meetup events, with sponsorship from the Modular team.

Ekemini Samuel

In August 2025, we had our first Mojo Africa meetup, where we introduced Mojo to the community.

Mojo Africa meetup

We had our second Mojo Africa meetup in May 2026, where we learned and discussed the Role of Mojo and Max in building and scaling AI infrastructure. Great energy at the Mojo Africa meetup! ✨

Mojo Africa is about more than teaching Africans about Mojo. We want to help redefine the narrative.

Africa should not only consume AI and technology. We should also be actively contributing, building AI projects, developing AI infrastructure, and creating the technologies that will shape the future.

We are building Mojo Africa to create an environment where Africans can learn, experiment, contribute, and build the AI technology and infrastructure of the future. And it starts with Mojo.

That is the vision. Join the community, more updates are coming.

Why Now?

If there was ever a time to pay attention to Mojo and AI infrastructure, I believe it is now.

AI is moving incredibly fast, and the conversation is gradually shifting from simply building better models to figuring out how we can run those models efficiently, across different hardware and at much larger scale.

Imagine a company collecting millions of data points from sensors, devices, or other systems. They may want to process that data, run models against it, and generate insights in real time. The performance of the software processing that information can become just as important as the model itself. Mojo is built to excel at use cases like this.

Modular has also reached some major milestones.

In September 2025, Modular raised $250 million in funding, bringing its total capital raised to $380 million and its valuation to $1.6 billion. Then, in July 2026, Qualcomm completed its acquisition of Modular, bringing the company, Mojo, and MAX into the Qualcomm ecosystem, with Chris Lattner taking on the role of EVP of Advanced AI Software and Platforms and Tim Davis becoming SVP and GM of Modular.

And now, another major milestone has arrived. Today, 11th August 2026 as I write and publish this article, Mojo 1.0 is now officially here 🔥, Modular announced it today!

Mojo

Mojo 1.0 provides a stable, production-ready foundation.

After years of development and contributions from the community, Modular has officially released Mojo 1.0 as a stable foundation for developers building with the language. Nearly 200 contributors have landed more than 1,100 pull requests affecting over 200,000 lines of code since the standard library was open-sourced, with more than 1,000 people also contributing suggestions, issues that helped shape the language.

For me, this is significant because 1.0 changes the conversation.

Mojo is no longer simply an interesting programming language to watch while it is being developed. Developers can now build on a more stable foundation, with Modular committing to primarily additive changes throughout the 1.x era and carefully managing breaking changes.

Also the Modular team mentioned during the Ask Us Anything: Modular and Qualcomm that the Mojo compiler and toolchain will be progressively open-sourced in 2026.

There is more coming.

Modular's ModCon 2026, happening on August 18 in San Francisco, is focused on the next frontier of AI infrastructure, with major announcements and updates around Mojo, MAX, open source, hardware, and the broader AI ecosystem.

ModCon 2026

This is why I think the timing matters.

The technology is evolving quickly. The company behind it has entered a new chapter with Qualcomm. Mojo has reached 1.0. More of the stack is moving toward open source. And developers around the world are beginning to build on top of it.

We are still early.

And that is exactly why I believe now is a good time to learn, experiment, contribute, and build.

For anyone interested in the future of AI infrastructure, this is a good time to start paying attention.

My Thoughts

AI is becoming more powerful, but that also means the computing infrastructure underneath it has to become more efficient. We need software that can take advantage of increasingly diverse hardware without making developers rewrite everything every time the hardware changes.

Learning Mojo does not mean you have to stop using Python, C++, CUDA, or any other language you already know.

For me, the value is in understanding another part of the stack.

The more I learn about AI, the more I realize that the future will not only be about using AI tools. There will be enormous opportunities for people who understand how these systems are actually built.

And that is why we started Mojo Africa.

I want to learn, build, and create with other people who are interested in this future.

Next Steps

If you've read this far, I hope you now have a better understanding of what Mojo is, why it exists, where it fits into AI infrastructure, and why I believe it is worth paying attention to.

The next step is simple: try it.

Start with the Mojo 101 series, explore the official Mojo documentation, and write your first Mojo program.

And if you want to learn and build with other people, join Modular's Discord community.

Thank you for reading ❤️. You can connect with me on X or LinkedIn.

Top comments (0)