Posts

Mojo Programming Language

Now Python is not my favorite, so what’s so great about a Python superset that I’m curious about it? Mojo leverages Python’s full ecosystem: no fancy FFI, just import any Python library and use it. That’s good… Data Science, AI, ML, we got that covered, but so what, that’s Python? What’s beyond Python?

  • proper static types
    • associated w/ great optimizations
    • and proper compile-time checks
  • SIMD optimizations
  • proper parallelization
  • autotune for vastly improved performance for a specific platform
  • immutable variables

And who’s behind it? Chris Lattner, the creator of LLVM, Clang, Swift, and one of the main drivers behind modern MLIR. You’ve got to consider it a serious project for this reason alone, the guy knows his stuff.

Mojo Links:

As of now it has limits which probably make it too rough a choice for general development:

  • lots of features still heavily in development
    • as of yet no classes
    • borrow checker is still not fully implemented
    • no list/dict comprehension, no lambda syntax
    • …
  • officially supports Ubuntu Linux and non-Intel Macs only

But damn, heads up, interesting stuff…

Warning (as I did too much of this myself in the past): Don’t learn a thousand languages obviously, rather do projects, collaborate w/ other people, and acquire decent software engineering principles more generally, but still, I enjoy keeping an eye on what’s out there.

← Back to Posts