/Mojo-Playground

Mojo Playground: Where code meets creativity in fun experiments and projects! 🚀💻✨

Primary LanguageJupyter NotebookMIT LicenseMIT

Mojo Playground 🔥

Welcome to Mojo Playground 🔥! Where code meets creativity in fun experiments and projects! 🚀💻✨

Mojo Playground is a collection of fun experiments, benchmarks, and projects that showcase the magic of code. Dive in, explore, and have fun!

Mojo 🔥

Mojo 🔥 is not just another programming language. It's designed for AI developers, offering the usability of Python combined with the performance of C. Mojo unlocks unparalleled programmability of AI hardware and extensibility of AI models, making it the go-to language for all AI enthusiasts.

Mojo comes with a set of powerful features:

  • Progressive Types: Leverage types for better performance and error checking.

  • Zero Cost Abstractions: Take control of storage by inline-allocating values into structures.

  • Ownership + Borrow Checker: Take advantage of memory safety without the rough edges.

  • Portable Parametric Algorithms: Leverage compile-time meta-programming to write hardware-agnostic algorithms and reduce boilerplate.

  • Language Integrated Auto-Tuning: Automatically find the best values for your parameters to take advantage of target hardware.

  • Full Power of MLIR: Mojo provides the full power of MLIR (Multi-Level Intermediate Representation).

  • Parallel Heterogeneous Runtime: Mojo supports a parallel heterogeneous runtime environment.

  • Fast Compile Times: Experience fast compile times for efficient development.

Learn more about Mojo at Modular - Mojo.

Getting Started

If you want to explore the examples and projects in Mojo Playground or contribute, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/Anass-23/Mojo-Playground.git
    cd Mojo-Playground
  2. Explore and Collaborate:

    Explore through exciting Mojo experiments and performance tests! 🚀 Anyone intersted to learn Mojo is welcome to join us, request collaboration rights to upload their own exciting examples and so on! 🔥

Note

In case of not having collaboration rights create a Pull Request!

Contributing

Mojo Playground thrives on collaboration! If you have a cool experiment, benchmark, or project you'd like to add:

  1. Fork the Repository:

    Click the "Fork" button in the top right corner of this repository.

  2. Clone Your Fork:

    git clone https://github.com/your-username/Mojo-Playground.git
    cd Mojo-Playground
  3. Create a New Branch:

    git checkout -b dev/<your-dev-name>
  4. Commit and push your changes 🚀

    Whether it's a new experiment or a performance boost, commit your changes and push them to your forked repository.

    In Mojo Playground 🔥, each experiment, benchmark, or project has its own folder, named with a number-title format e.g. 00-memory_management. Make sure to include all necessary files, and don't forget to provide a README or a doc directory explaining what your Mojo art piece is all about!

    git add .
    git commit -m "Add your awesome Mojo experiment"
    git push origin dev/<your-dev-name>

Important

If applicable, provide instructions on running benchmarks or experiments.