News for hackers. Stuff that matters.
Re:Why Rust closures are somewhat hard by detaro on Monday September 10, 2018 @05:04PM (#17955188)
You hear fairly similar statements about linked lists from the C++ crowd too, where they're trivial to implement, so it's unlikely it's just defensive excuses.
Re:Why Rust closures are somewhat hard by whyever on Tuesday September 11, 2018 @09:31AM (#17959533)
They are are arguably about as trivial to implement in Rust. It becomes tricky when you add constraints: usually you want to avoid unsafe code, but even then you can just implement them on top of a vector and bypass any lifetime/aliasing issues.