A primer to Rust Async
This article is not comprehensive on the Rust Async topic but could be an easy overview if you have no idea about Async Programming in Rust or in general. If you are wondering about the new
async/await keywords, Futures, and intrigued what Tokio is useful for, then you should feel less clueless by the end.
Rust Async is the new hot thing in Rust’s land. It has been hailed as a big milestone for Rust; especially for people developing highly performant networking applications. The long time for development, the different incompatible versions, and the various libraries; however, might made it not very straightforward to grasp. There is a lot going and it’s not obvious from where to start.
Let’s start from the beginning.
What is Async?
There are several articles, books and videos that goes in depth on Async; but I’ll give you the short version: If you have a single processor and want to...
Continue reading →