Ben Chuanlong Du's Blog

It is never too late to learn.

Async in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Combining asynchronous code with synchronous code that can cause blocking is never a wise choice. When calling asynchronous code from a synchronous context, use futures::executor::block_on and spawn the async …

Tips on Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://lib.rs/

Rust Blessed is an unofficial guide to the Rust ecosystem.

Installation

Please refer to Tips on rustup for installing Rust using rustup (the recommended way for most users …