News for hackers. Stuff that matters.
Re:100 days with Rust: a series of brick walls by xfer on Friday March 23, 2018 @04:09PM (#16662211)
Yeah, i have recently finished a tokio based server. Working with future combinators is very frustrating. I accidentally captured a variable in a closure(should be cloned and moved), and it didn't tell me where it happened, just an error saying requires 'static lifetime for the variable.
Re:100 days with Rust: a series of brick walls by steveklabnik on Friday March 23, 2018 @05:52PM (#16662899)
The new async/await stuff will help a lot with this; it'll enable borrowing across futures, which will remove this requirement and make things a lot simpler.
Re:100 days with Rust: a series of brick walls by xfer on Friday March 23, 2018 @09:25PM (#16664163)
Are there any plans to make them happen this year?
Re:100 days with Rust: a series of brick walls by steveklabnik on Saturday March 24, 2018 @02:02AM (#16665114)
Not just this year, but by the third quarter.
Re:100 days with Rust: a series of brick walls by saghm on Friday March 23, 2018 @10:57PM (#16664536)
I know this won't help you, but there is an issue tracking this: https://github.com/rust-lang/rust/issues/43353