Thursday, October 19, 2023

Mojo for Mac

Shashank Prasanna (Hacker News):

Mojo is now available on Mac (Apple silicon) 🎉

In this blog post, we’ll discuss how you can get started with the Mojo SDK on Mac. We’ll take a closer look at how to download and install the Mojo SDK on your Mac, and share popular community projects and resources to help you start your Mojo learning journey. We can’t wait to see what you’ll build. For a deeper dive on components of the Mojo SDK be sure to check out our launch blog post.


Let’s run a matrix multiplication example using matmul.mojo. On My Apple MacBook Pro M2 Max, I get about 90,000x speedup over pure Python 🤯

Mojo can take full advantage of Mac CPU cores and vector units to achieve these speedups. Read our blog post series on speeding up Mandelbrot code for tips and tricks to vectorize and parallelize Mojo code to accelerate your applications.

Like Swift, the plan is for it to be open source, but not right away.


Comments RSS · Twitter · Mastodon

Leave a Comment