Modular

M

Modular

This server is the home of the MAX and Mojo community. Join us to chat about all things Modular!

Join

questions

community-showcase

How to Set Up Mojo with One Click?

Many people struggle to set up Mojo for testing. Recently, @Chris Lattner discussed how easy it is to develop projects in the cloud. GitHub Codespaces offers a free and simple solution for this. Mojo open source projects can create GitHub-compatible development containers, allowing others to set up Mojo with a single click and begin contributing immediately! I believe this approach to experimenting with Mojo should be emphasized more. https://www.youtube.com/watch?v=547UggxG_M8...

Fire Physics Engine: A simple 2d physics engine in Mojo

This is the first version of a simple 2d physics engine I have been working on. it is still in the very early stages of development and any contributions are welcome. If you want to try it out there is info on how to use it in the git repo. If you have any issues or questions please let me know and I will try to help. https://github.com/RyanLeber/fire-physics-engine.git...

awdy: A tqdm-like progress bar for Mojo

https://github.com/Ryul0rd/awdy/tree/main Example code: ```python with awdy(total=100, leave=True) as pb: for i in range(100):...
No description

Basic Progress Bar for Mojo

Based on a discussion we had here on Discord, I implemented a basic progress bar in Mojo and put it on Github https://github.com/dorjeduck/mopro Just when i published it, @Ryulord pointed out another progress bar implementation to me, which he is about to introduce here. His implementation looks for sure more advanced, so look out for it (i leave it to him to post the link here .when he is ready) Nevertheless, I wiill keep my implementation on github for the time being, may it benefit....

GLibC.Mojo

https://github.com/Benny-Nottonson/glibc.mojo This is the beginnings of a wrapper for glibc in Mojo, it is written to help with extremely low level coding in Mojo, something I haven't really seen done yet. I would love help converting functions over or improving syntax, all documentation needed is available at https://sourceware.org/glibc/manual/latest/html_mono/libc.html...

MIL: Mojo Imaging Library

https://github.com/Benny-Nottonson/MIL This is EXTREMELY WIP, DO NOT USE THIS FOR PROD ANYTHING....

rules_mojo 🔥

Hey, I just published rules_mojo, an hermetic, reproducible way to build Mojo with Bazel and Nix, supporting all x86_64-linux distros ❤️ https://github.com/TraceMachina/rules_mojo...

Implement and benchmark Softmax algorithms in Mojo

I gave my first try at Mojo, and really love its design. Did a weekend project on implementing online normalizer calculation of softmax, and made a vlog: https://youtu.be/5JdP_YAH-iE?si=q7oJgu4ZZ87kv26J...

heapq.mojo - A Python's priority queue rewritten in Mojo.

Hi everyone, I wanted to share my implementation of heapq for Mojo, which you can find here: https://github.com/sebastian-sz/heapq.mojo This is a minimalistic, single-file implementation of a Priority Queue (minheap) in Mojo, largely mimicking Python's functionality. While I know the concept isn't new and that existing Mojo implementations have already been posted (e.g., https://discord.com/channels/1087530497313357884/1240078204920926248/1240078204920926248), I wrote this mostly for educational purposes to explore Mojo and its tooling....

toybox

Various data-structures and other toys implemented in Mojo🔥. https://github.com/dimitrilw/toybox Current toys:...
No description

🥼 🐒 mojo small tests runner

Hello, here is a new small project using the apache 2.0 LLVM exceptions license! https://github.com/rd4com/mojo-small-tests-runner...

Mojo port of Andrjey Karpathy's minbpe

https://github.com/dorjeduck/minbpe.mojo Minbpe is an implementation of various Tokenizers as they are commonly used in LLM application. This Mojo port is work in progress, particular looking into performance optimizations. One interesting aspect of this project for me is that there is a Rust port of minbpe and in some aspects of Tokenization this Mojo port is not yet a performant as the Rust implemention (which seems to be done very well). Not so much a competition with Rust for me, but extremely helpful to have this performance comparison to find aspect of my implemention which can be optimized ... ...

NuMojo - a library for numerical computing (like numpy and scipy)

Numojo intends to fill the non-AI numerical computing niche in the Mojo ecosystem, while still delivering all of the performance Mojo can bring. It is still new and a little rough around the edges. I am open for pull requests and would appreciate any discussions(either here or on Git Hub).

Prism: CLI Library (inspired by Golang's Cobra)

Prism This is a library for building CLI tools written purely in Mojo! It's inspired by the Cobra package from the Golang ecosystem. https://github.com/thatstoasty/prism...

Poor persons package management in Mojo

This is a blog post which includes a bash script I use to check out modules from Github. https://medium.com/@mzaks/poor-persons-package-management-in-mojo-8671aa6e420a...

Mojo CSV

A small lib to parse and create CSV files. I use it often to generate benchmark results. https://github.com/mzaks/mojo-csv...