Hacker News new | ask | show | jobs
by pjmlp 3485 days ago
Regarding closures, that is also possible in Java and .NET, just you don't control when it might happen.
1 comments

In Rust, each closure has a unique type, and derived expressions are templated on that type. This is key to making them statically dispatched, which is important for making the base case (sequential) fast.