ExtraMojo
https://github.com/sstadick/ExtraMojo
ExtraMojo has been updated to support latest mojo and Magic, and now has more tests and examples!
ExtraMojo is just things I wish were in the stdlib, which mostly means a buffered file reader that can read files by line (or any delim), and a tiney regex implementation....
FireWorm 🔥🐛 - Easy Docs Website for your Mojo Project
Hey everyone!
I wanted to make public docs for Lightbug, but instead made a public documentation starter kit, FireWorm:
https://github.com/saviorand/fireworm
It's based on Basalt docs, with more features, and I've put quite a lot of effort into refining the frontend. ...
Morabaraba: a traditional board game from South Africa written in Mojo
Hello all, I have made a terminal game based on Morabaraba (a variant of 12-mens' morris) in Mojo using a minimax algorithm. It is very rough and I would love if anyone would take a look and tell me how bad it is! I would also love it if people would like to test and perhaps let me know how to improve things or point out glaring issues. Of course if you would just like to have a play and enjoy that is awesome as well. Thanks for taking the time, I appreciate it. I love this community and languag...
Modverse #44: the hidden superpowers of linear types, understanding SIMD, and RAG with MAX 24.5
This month's community highlights are hot off the press! Featuring @Maxim, @Manuel Saelices, @bgreni, @Martin Vuyk, @sora, @Joshua James Venter, @Helehex, @gabrieldemarmiesse, @toasty, @rd4com, @ivellapillil, @lukas, @Helehex, and @Alvydas Vitkauskas! Huge thanks for all your amazing contributions 🥳
Tephra: Read the BlueSky Firehose with Mojo
I made a small set of utils that lets me read from the BlueSky firehose. I'm using Python for
websockets
for now though.
https://github.com/lsh/tephra...Mojo LibC bingings
Forked repo with the Mojo libc bindings from @crisadamo , adapted to the latest Mojo nightly package, and released on the
mojo-community
channel:
https://github.com/msaelices/mojo-libc
Making the libc bindings a Mojo package hopefully could help avoid copying and pasting the code from the original repo all over the place.
Note: I'm still trying to contact @crisadamo, as his original repo had no explicit license....:hatching_chick: mojo-new-web-framework
🐣 mojo-new-web-framework
https://github.com/rd4com/mojo-new-web-framework
Hello, after thinking about web-framework a lot,
and working on it for a while, it seem good enough,...
Mojo added to SpeedTests repo on github
I recently came across jabbalaci's SpeedTests https://github.com/jabbalaci/SpeedTests, and I made a PR to add Mojo, which got accepted today! The project's idea is to stick to the basic implementation pattern of the task without using language-specific tricks, so I just followed the Python implementation.
It's a insightful list of benchmark results, and Mojo is holding up pretty well. 😉...
Modverse #43: MAX 24.5, our biggest Mojo update ever, and Mojo's debut in the TIOBE index
Our latest community highlights are live! 🥳
Featuring @Tyoma Makeev, @DobyDabaDu, @guidorice, @Hammad Ali, @lukas, @Peter Homola, @TilliFe, @sazid, @a2svior, @fnands, @toasty, @Sören Brunk, @AkaHenry, @mad alex 1997, @Martin Dudek, @bgreni, @Thomas Børstad, @Maxim, @msaelices, @Sawyer Bergeron, @Ghostfire, @gabrieldemarmiesse, @Martin Vuyk, @sora, @yichi170, @rd4com, @fknfilewalker, @Joshua James Venter, @Tom Gale!...
Operatio
Hello Mojo Community !
I'm happy to share Operatio, a tool that uses Mojo to perform task arithmetic (task vector operations) on language models.
Initially, I attempted to implement this in Python using MAX, but encountered some challenges. This led me to explore Mojo! (I've kept the Python version as pyoperatio for reference.)...
Live community showcase during our next community meeting (Oct. 21) 🎤
During our next community meeting on October 21, you're invited to share your Mojo and/or MAX projects! We'll have a series of 5-10 minute slots available for you to demo your project, share learnings, and request feedback (if you want). Comment in this thread or DM me to grab a spot!
EmberJson: High level JSON library
I've spent part of the last week on the beginnings of JSON library for Mojo. It's still very much under development so I haven't made any official releases, but if anyone would like to help add test cases or point out edge cases I've missed that would be greatly appreciated!
https://github.com/bgreni/EmberJson
A quick example of how it's used:
```mojo...
Numojo V0.3 Update to Mojo 24.5, and a couple new features.
We’re excited to announce the release of NuMojo v0.3, with support for Mojo 24.5, a few new features, improvements, and fixes. Here's a quick overview of what's new:
Key New Features
- Magic System and MAX 24.5 Support: Enhanced compatibility with new systems, allowing for more efficient processing.
- Linear Algebra Functions: New functions like
solve
, inv
, and LU decomposition make it easier to solve equations and matrix inversions....Mojo dictionary benchmarks
I've published a GitHub repository intended as a baseline for comparing the performance of various dictionary implementations in Mojo, with Python and Rust implementations as additional references. You can find it here: https://github.com/dorjeduck/mojo-dictionary-benchmarks.
My hope for this is to serve as a foundation for community discussions on improving Mojo's dictionary performance , especially since current results show Python and Rust implementations with significant performance advantages. The best Mojo approach I am aware of so far is @Maxim's compact-dict: https://github.com/mzaks/compact-dict
My current focus on dictionaries is driven by the desire to improve the performance of my tokenizer implementation in https://github.com/dorjeduck/minbpe.mojo....
Faster CRC32 calculations in Mojo
As part of writing Mimage, an image parsing library for Mojo, I looked into speeding up the CRC32 calculations that are performed when decoding PNG files: https://fnands.com/blog/2024/mojo-crc-calc/
I managed to speed up the calculations by approximately 40 times versus my initial naive implementation.
These changes have now been added to Mimage....
Mojo Termios bindings
Hey all, I've created some termios bindings for Mojo and pushed it to the
mojo-community
Conda channel. Right now it only supports mac, but I'm working on getting my Mojo environment configured on my PC to test it out on Linux too.
https://github.com/thatstoasty/termios
Let me know if you use it and run into any issues! It's difficult to automate tests involving the terminal, especially cross platform....Fireflake: A snowflake id generator in Mojo
Hi all! I've written a new library that generates Snowflake IDs. Quoting Wikipedia: Snowflake ID:
Snowflake IDs, or snowflakes, are a form of unique identifier used in distributed computing. The format was created by Twitter (now X) and is used for the IDs of tweets.[1] It is popularly believed that every snowflake has a unique structure, so they took the name "snowflake ID". The format has been adopted by other companies, including Discord and Instagram. The Mastodon social network uses a modified version.:github: Repository - https://github.com/sazid/fireflake...