HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hjb

no profile record

comments

hjb
·5 ปีที่แล้ว·discuss
If you go to the 12 of June 2012 you can see a ship making its way across the Sahara. I assume this is a data funny.
hjb
·6 ปีที่แล้ว·discuss
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.