Awesome Mojo
Mojo is a programming language that combines the usability of Python with the performance of C.
Contents
Built-in Modules
- Bool - Implements the Bool class.
- BuiltinList - Implements the ListLiteral class.
- BuiltinSlice - Implements slice.
- Error - Implements the Error class.
- FloatLiteral - Implements the FloatLiteral class.
- Int - Implements the Int class.
- StringLiteral - Implements the StringLiteral class.
- StringRef - Implements the StringRef class.
- Tuple - Implements the Tuple class.
- TypeAliases - Defines some type aliases.
Standard Library Modules
- Assert - Implements various asserts.
- Atomic - Implements the Atomic class.
- Autotune - Provides interfaces to adaptive compilation in Mojo.
- Benchmark - Implements the Benchmark class for runtime benchmarking.
- Bit - Provides functions for bit manipulation.
- Buffer - Implements the Buffer class.
- Complex - Implements the Complex type.
- DType - Implements the DType class.
- Functional - Implements higher-order functions.
- IO - Provides utilities for working with input/output.
- Index - Implements StaticIntTuple which is commonly used to represent N-D indices.
- Intrinsics - Defines intrinsics.
- List - Provides utilities for working with static and variadic lists.
- Math - Defines math utilities.
- Memory - Defines functions for memory management.
- Numerics - Defines utilities to work with numeric types.
- OS - Implements basic routines for working with the OS.
- Pointer - Implements classes for working with pointers.
- Polynomial - Provides two implementations for evaluating polynomials.
- Random - Provides functions for random numbers.
- Range - Implements a โrangeโ call.
- Reductions - Implements SIMD reductions.
- SIMD - Implements SIMD struct.
- Sort - Implements sorting functions.
- StaticTuple - Implements StaticTuple, a staticly-sized uniform container.
- String - Implements basic object methods for working with strings.
- TargetInfo - Implements methods for querying the host target info.
- Testing - Implements various testing utils.
- Time - Implements basic utils for working with time.
- TypeUtilities - Implements type utilities.
- Vector - Defines several vector-like classes.
Resources
- Modular Mojo - Official website of the Mojo programming language.
- Fast.ai blog post - Technical blog post about Mojo.
- Fireship video - Video from Fireship about Mojo.
- Mojo: Future of AI Programming - Blog post comparing Mojo vs Python
Contributing
Suggestions welcome! See contributing.md, or drop an issue.