200 lines of code on rust futures


Original address:


This article is open source in GitHub


He isstjepang/smol: A small and fast async runtime for RustThe author of this project is mainly engaged in research and development@rustlangAsynchronous runtime and concurrency primitives for.

The main content and purpose of this paper are as follows

The purpose of this book is to use an example driven approach to explain futures in rust, to explore why they are designed like this, and how they work.

You don’t need to use futures or async / await in rust to understand the details described in this book. It’s for curious people who want to know how it all works

This work adoptsCC agreementReprint must indicate the author and the link of this article

Recommended Today

Rust and python: why rust can replace Python

In this guide, we compare the rust and python programming languages. We will discuss the applicable use cases in each case, review the advantages and disadvantages of using rust and python, and explain why rust might replace python. I will introduce the following: What is rust? What is Python? When to use rust When to […]