Error handling in Rust: a k-NN case study

Exploring idiomatic methods of handling runtime errors in Rust.
Read more

Similar

Using Const Generics in Rust

In part one, we defined a Grid trait and implemented it using 1D and 2D vectors. Benchmarks revealed that a 1D vector was a better choice than a nested 2D vector. In this post, we'll write a new implementation that uses arrays instead of Vec. This should ... (more…)

Read more »