Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Mojo

< >

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

Source code:
git clone https://github.com/modularml/mojo
#352on PLDB 2Years Old

The Mojo Programming Language


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 About Acknowledgements Extensions Day 625 feedback@pldb.io