Hands-on with Mojo 24.6
Mojo
Programming Languages
Tutorial
A practical walkthrough of the new features in Mojo 24.6 - originally published on Modular’s blog.
I wrote a hands-on post on the Modular blog about Mojo 24.6. The big changes here are around argument conventions and reference tracking: there’s a new mut keyword for mutable arguments and an origins system that the compiler uses to track references. There are also some new collection types. I worked through each one with code you can actually run.
Read it here: Hands-on with Mojo 24.6.