Advent of Mojo

p88h
1 min readDec 25, 2023

--

Mojo is a new programming language developed by Modular, and the newest project by Chris Lattner (of LLVM fame). It’s pitched as a combining usability of Python with performance of C with claims of speed improvements in the tens of thousands range.

Advent of Code is a fun yearly event that has the participants solving increasingly complex Santa-themed problems, and for me at least, a chance to write some code. I typically use the occasion to learn / play with some programming languages I haven’t had a chance to work with before. I have used it to learn Go, Rust, Kotlin, Elixir, C# and now, this year — Mojo. Since this is a relatively new language, I thought I will write up on some of my experiences with it.

I will divide this into a couple of parts, linked below:

--

--