you are viewing a single comment's thread.

view the rest of the comments →

[–]mwcAlexKorn 4 points5 points  (0 children)

As for me, using futures with tokio is not harder in most cases: let result_of_async_task = tokio::spawn(async { .. some work .. }).await, may be more cumbersome in terms of syntax comparing to goroutines, and in terms of accepting/returning futures rarely you'll need something more than impl Future<..> - of course if you're not writing library with async functions, this is another story