News for hackers. Stuff that matters.
Re:Show HN: I Wrote a Book on Data Analysis with Rust Notebooks by hjb on Saturday December 05, 2020 @07:47PM (#25319878)
I believe that catching that at compile-time in Rust would have to wait for RFC 2000 to be implemented: https://rust-lang.github.io/rfcs/2000-const-generics.html

This would allow generics that depend on const values (i.e. matrix dimensions in this context). At present generics can only depend on types.

There are no comments on this comment yet.