July 9, 2024

Modverse #39

Check out the new section for nightly updates. If you're not keeping track on the #nightly Discord channel, you can catch up on everything new for the last week in this newsletter.

Blogs, Tutorials, and Videos

Awesome Mojo

You can discuss these projects with the creators in the Discord forum: #community

Open Source Contributions

Check out all the open source contributions here.  make sure to DM Jack Clayton on Discord if you've had your first PR merged to claim some epic Mojo swag!

Check out the merged contributions this week from our valuable community members:

Nightly Updates

Check out the unreleased changelog here for more details on each change. You can follow changes on the #nightly Discord channel. These are the updates since last week:

  • [Stdlib] Introduce time.perf_counter methods and deprecate time.now
  • [mojo] Add an exclusive parameter to the pointer types
  • [External] [stdlib] Implement collections.Counter (#42560)
  • [mojo-stdlib] Adds os.path.makedirs and os.path.removedirs for adding and removing nested directories. Follows Python logic.
  • [mojo-stdlib] Add os.path.split and tests, behaves the same as Python equivalent.
  • [mojo-stdlib] Adds os.path.expanduser, pathlib.Path.expanduser, and pathlib.Path.home.
  • [stdlib] Add math.align_{up,down} overloads for UInt
  • [stdlib] Add min and max overload for UInt
  • [stdlib] Update changelog with new UInt type
  • [mojo-stdlib] Reland again: Add ImplicitlyBoolable trait
  • [stdlib] Clean up uses of memcmp
  • [mojo-lang] Rework setitem/setattr emission to use keyword arguments.
  • [mojo-lang] Improve parameter inference for conditional conformances.
  • [mojo-stdlib] Fallback for home dir if HOME is not set on POSIX
  • [mojo-stdlib] Add the ability to expand a username with os.path.expanduser(~user/folder)
  • [stdlib] Remove load from LegacyPointer.
  • [mojo-stdlib] Adds the pwd module following Python syntax and behavior.
  • [mojo] Update changelog with new Mojo pointer restrictions

Sign up for our newsletter

Get all our latest news, announcements and updates delivered directly to your inbox. Unsubscribe at anytime.

Thank you for your submission.

Your report has been received and is being reviewed by the Sales team. A member from our team will reach out to you shortly.

Thank you,

Modular Sales Team

Jack Clayton

AI Developer Advocate

Jack started his career optimizing autonomous truck software for leading mining companies, including BHP and Caterpillar. Most recently he was designing computer vision software, putting AI inference pipelines into production for IDVerse. He is enormously passionate about the developer community, having been a Rust, Go, Python and C++ developer for over a decade. Jack enjoys making complicated topics simple and fun to learn, and he’s dedicated to teaching the world about Mojo 🔥.