Math with distances in Rust: safety and correctness across units

Summary: Computers weren’t designed to have outside concepts, such as units of length, expressed in their function.
Because of this Rust, being a systems language, also has no concept of it.
But just because the computer runtime has no concept of length o… Read more

Similar

Writing a Raytracer in Rust (Part 1)

Introduction Hello! This is part one of a short series of posts on writing a simple raytracer in Rust. I’ve never written one of these before, so it should be a learning experience all around. So what is a raytracer anyway? The short version is it’s a com... (more…)

Read more »