DEV Community

Discussion on: Rust futures: an uneducated, short and hopefully not boring tutorial - Part 1

Collapse
 
vthg2themax profile image
Vince Pike

Given that futures are part of standard now, so you think learning tokio will still be a useful skill or should one spend their energy trying to figure out the new standard? (Which looks pretty complex)

Collapse
 
mindflavor profile image
Francesco Cogno

Most of the stuff above still applies to the "new" features (but there are some differences like the Pin type) so it can be useful to read it, especially because combinators are still allowed.

That said, the await syntax is the future so you will have to study it anyway. You might as well start from there and save some time.
It's still Rust though: what seems complex usually is! I plan to write about the new standard when the dust settles (and when I'm knowledgeable about it, which may never happen :))!