News for hackers. Stuff that matters.

tsnl

Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun on Thursday January 18, 2024 @01:53PM (#39045971)
Another downside of Box<T> is that Vec::into_boxed_slice copies all elements from the source vector. Vec::shrink_to_fit does not appear to copy. This is based on the stable docs.
Re:Doing First Grade Math in Rust's Type System on Saturday January 13, 2024 @05:40AM (#38978770)
Theorem provers that use dependent typing, like Coq.