Making a const version of Rust’s array:from_fn – How hard can it be?
Writing const functions has been supported since Rust 1.31 in 2018.These functions can be evaluated at compile time, which is for example useful to shift exp... (more…)
Read more »
Although I write C++ for a living, I don’t write a single line of it in my spare
time, I use Rust instead. People assume that it’s because Rust is my favorite
language, but really it’s just because I don’t want to have to deal with C++’s
(lack of standar… Read more