2022年6月14日

Async Rust: What is a runtime? Here is how tokio works under the hood

摘要: Async Rust: What is a runtime? Here is how tokio works under the hood 阅读全文

posted @ 2022-06-14 23:04 明天有风吹 阅读(21) 评论(0) 推荐(0) 编辑

Arenas in Rust

摘要: Arenas in Rust Bump, Arena Allocators Allocating Less: Really Thin Rust Cloud Apps 阅读全文

posted @ 2022-06-14 22:47 明天有风吹 阅读(46) 评论(0) 推荐(0) 编辑

Rust Tokio Chat Server 用 Rust 写一个聊天服务器有多简单

摘要: [Creating a Chat Server with async Rust and Tokio](https://youtu.be/Iapc-qGTEBQ) ### Simple Chat Room ```rust use tokio::{ io::{AsyncBufReadExt, Async 阅读全文

posted @ 2022-06-14 21:08 明天有风吹 阅读(619) 评论(0) 推荐(0) 编辑

Common Rust Lifetime Misconceptions 常见的对 Rust 生命周期的误解

摘要: Common Rust Lifetime Misconceptions Intro Phrase Shorthand for T 1) 所有类型的集合(包括 T, &T, &mut T) 或者2) 改集合中的某些类型 owned type 非引用类型, e.g. i32, String, Vec, 阅读全文

posted @ 2022-06-14 19:27 明天有风吹 阅读(73) 评论(0) 推荐(0) 编辑

导航

+V atob('d2h5X251bGw=')

请备注:from博客园