Rust 异步编程

Rust 异步编程

语言 中文 · 章节 84 · 阅读 17608 · 收藏 0 · 评论 0

Rust 异步编程

共 83 个章节 · 0 条评论
01 Rust异步编程 (Work in Progress) 02 目录 03 空标题文档 04 Building a custom executor 05 Managing the Tokio event loop 06 空标题文档 07 Backpressure 08 Buffering and bytes 09 空标题文档 10 When to use combinators 11 Tasks versus threads 12 Effective programming with futures 13 Library guidelines 14 Organizing libraries and applications 15 Resource management 16 Graceful shutdown 17 Structuring tasks 18 Rust异步编程: 你需要知道的事 19 Batteries included 20 Networking 21 DNS 22 Gzip 23 HTTP 24 TLS 25 UDP 26 Websockets 27 Services 28 Databases 29 File I/O 30 inotify 31 Named piped 32 Processes 33 Signals 34 Timers 35 Adding caching 36 A crash course 37 Serving files 38 Hello, world! 39 Adding streaming 40 空标题文档 41 Comparisons to other languages 42 Rationale for the “pull” model 43 Cancellation 44 Futures 45 The combinators 46 The core definition 47 Push and pull: futures and tasks 48 Example: ReadExact 49 Relating sync and async 50 Example: a timeout wrapper 51 空标题文档 52 Example: a chat server 53 空标题文档 54 空标题文档 55 Example: write buffering 56 空标题文档 57 The combinators 58 The core definition 59 空标题文档 60 The combinators 61 The core definition 62 Example: a stream of lines 63 任务模型(Task Model) 64 一个玩具事件循环 65 一个玩具任务执行器 66 整合任务执行器与事件循环 67 背景: 同步 vs. 异步 68 Event loops 69 Executors 70 The real task system 71 Tasks 72 通过任务(task)掌握异步编程 73 Tokio: async network I/O 74 Reading and writing 75 Closing down a connection 76 Acquiring a socket 77 Transforming at the byte level 78 空标题文档 79 Decoding 80 Encoding 81 Framing 82 Transport layers 83 Length-delimited framing
善良比聪明更重要(评论内容审核后才会显示)
全部评论