Home / Blog Menu ↓

Last night I finished writing a ray tracer for class. Super basic, no antialiasing, only a couple primitives, but still fun.

rust-raytracer.png

It was also my first real project in Rust. Overall, great experience. The borrow checker was mystifying at first (and admittedly still is to some degree), but it wasn’t as bad as I’d expected. And the language itself is lovely to code in. Great ergonomics, even if the syntax is occasionally intimidating. I’m excited to do more with it. (I’ve been thinking about possibly rewriting md2epub in either Rust or Go at some point.)