Questions Concepts
GitHub icon


Mojo - Programming language

< >

Mojo is an open source programming language created in 2022 by Chris Lattner.

Source code:
git clone
#764on PLDB 1Years Old

Mojo combines the usability of Python with the performance of C, unlocking unparalleled programmability of AI hardware and extensibility of AI models.

Example from the web:
def softmax(lst): norm = np.exp(lst - np.max(lst)) return norm / norm.sum() struct NDArray: def max(self) -> NDArray: return self.pmap(SIMD.max) struct SIMD[type: DType, width: Int]: def max(self, rhs: Self) -> Self: return (self >= rhs).select(self, rhs)

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Traffic Traffic Today Day 305 Logout