LEARN MOJO
Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from LEARN MOJO, Computer training school, .
Hello, Mojo
We’re excited to introduce you to Mojo with this interactive notebook!
Mojo is designed as a superset of Python, so a lot of language features you are familiar with and the concepts that you know in Python translate directly to Mojo. For instance, a “Hello World” program in Mojo looks exactly as it does in Python:
print("Hello Mojo!")
And as we’ll show later, you can also import existing Python packages and use them like you’re used to.
But Mojo provides a ton of powerful features on top of Python, so that’s what we’ll focus on in this notebook.
To be clear, this guide is not your traditional introduction to a programming language. This notebook assumes you’re already familiar Python and some systems programming concepts so we can focus on what’s special about Mojo.
This runnable notebook is actually based on the Mojo programming manual, but we’ve simplified a bunch of the explanation so you can focus on playing with the code. If you want to learn more about a topic, refer to the complete manual.
Let’s get started!
Mojo is a work in progress: Please send us bug reports, suggestions, and questions through our Mojo community channels. And see what’s new in the Mojo changelog.
Note: Mojo Playground is designed only for testing the Mojo language. The cloud environment is not always stable and performance varies, so it is not an appropriate environment for performance benchmarking. However, we believe it can still demonstrate the magnitude of performance gains provided by Mojo, as shown in the Matmul.ipynb notebook. For more information about the compute power in the Mojo Playground, see the Mojo FAQ.
Basic systems programming extensions
Python is not designed nor does it excel for systems programming, but Mojo is. This section describes how to perform basic systems programming in Mojo.
let and var declarations
Exactly like Python you can assign values to a name and it implicitly creates a function-scope variable within a function.
Python is not designed nor does it excel for systems programming, but Mojo is. This section describes how to perform basic systems programming in Mojo.
let and var declarations
Exactly like Python you can assign values to a name and it implicitly creates a function-scope variable within a function. This provides a very dynamic and easy way to write code, but it also creates a challenge for two reasons:
Hello, Mojo
We’re excited to introduce you to Mojo with this interactive notebook!
Mojo is designed as a superset of Python, so a lot of language features you are familiar with and the concepts that you know in Python translate directly to Mojo. For instance, a “Hello World” program in Mojo looks exactly as it does in Python:
print("Hello Mojo!")
And as we’ll show later, you can also import existing Python packages and use them like you’re used to.
But Mojo provides a ton of powerful features on top of Python, so that’s what we’ll focus on in this notebook.
To be clear, this guide is not your traditional introduction to a programming language. This notebook assumes you’re already familiar Python and some systems programming concepts so we can focus on what’s special about Mojo.
Mojo is a new programming language that bridges the gap between research and production by combining the best of Python syntax with systems programming and metaprogramming.
With Mojo, you can write portable code that’s faster than C and seamlessly inter-op with the Python ecosystem.
Please if you're just joining the Community to learn more about MOJO:
-Please drop your name to be added Officially
-Please Respect the opinions of Others
Invite your friends to learn about MOJO 👍
👍👍
MOJO has come to stay it's multiple times faster than Python..... stay tuned for more lessons