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
- Read a Brief Guide to the Mojo N-Body Example and learn about orbital dynamics, along with Mojo.
- rd4com released a tutorial for the SIMD type on its methods and operators.
- Santiago released a video on running Python code from Mojo.
- Alex published a blog: Reinforcing Learning: Using Mojo🔥 to learn 3x faster
Awesome Mojo
You can discuss these projects with the creators in the Discord forum: #community
- The team working on NuMojo added an NDArray type.
- Andres released raylib bindings.
- Frank released zstd bindings and lz4 bindings.
- mist, weave, and mog for building TUIs moved to using integers for colors instead of strings, resulting in a 90% performance improvement.
- Shiva released a Mojo package manager: Tenka
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
andos.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
, andpathlib.Path.home
. - [stdlib] Add
math.align_{up,down}
overloads forUInt
- [stdlib] Add
min
andmax
overload forUInt
- [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
fromLegacyPointer
. - [mojo-stdlib] Adds the
pwd
module following Python syntax and behavior. - [mojo] Update changelog with new Mojo pointer restrictions