News for hackers. Stuff that matters.
Re:Rust 1.24 by dbaupp on Friday February 16, 2018 @07:20AM (#16391784)
> some very unreasonable design decisions (namely, each future generates as the result of a computation on a previous future has a different type, even if they resolve to the same types upon evaluation of the future - basically abusing the type system to store the futures chain

If you don't need the performance, you can get back to the dynamic-language world by boxing everything (.boxed()). The generics approach lets everything be compiled down to a single state machine, exactly like Iterator.

There are no comments on this comment yet.