News for hackers. Stuff that matters.
Re:Building native macOS applications with Rust by JoshTriplett on Wednesday November 30, 2016 @04:17PM (#13074768)
On the other hand, Rust closures do compute the capture list, and then let the type system reason about the safety of those captures, which C++ lambdas (or blocks with the clang blocks extension) don't.
Re:Building native macOS applications with Rust by problems on Wednesday November 30, 2016 @04:47PM (#13075018)
Ah okay, so rust will only ever capture the minimal set of what's necessarily used in the lambda? Different from using [&] or similar in C++ where you capture everything.