Mojo Miji โ€” Updated to Mojo v0.26.1 ๐ŸŽ‰

Hey Pythonistas and Magicians! Mojo Miji has been updated to reflect the changes in Mojo v0.26.1.

It took much more time than I expected โ€” I had to go through every piece of code example and verify it against the latest version. The changes in v0.26.1 are quite substantial. Luckily, I managed to finish the update within a month of the release.

What is Mojo Miji?

Mojo Miji is an open-source book for Pythonistas who want to learn Mojo. The name โ€œMijiโ€ comes from the Chinese word โ€œ็ง˜็ฑโ€, meaning โ€œsecret manualโ€. It systematically covers Mojo from the ground up โ€” from setting up your environment, to basics like variables, functions, and structs, all the way to advanced topics like ownership, lifetimes, and meta-programming โ€” but always from a Pythonistaโ€™s perspective, with side-by-side Python-vs-Mojo comparisons and memory layout diagrams throughout.

Beyond being a tutorial, it also provides complementary insights and conceptual models not found in the official documentation, such as a quaternary system of variables and four states of ownership, making it a useful companion to the official Mojo manual.

:open_book: Read it here: Mojo Miji - A Guide to Mojo Programming Language from A Pythonistaโ€™s Perspective
:octopus: GitHub: https://github.com/forfudan/MojoMiji

Feedback and issues are always welcome!

Thank you for the update! :fire: :fire: :fire: