Rust for everything

src: https://redd.it/wllpa4 (https://t.me/programmer_humor/38462) > low-level programmingRust > game developmentRust > high performance codeRust > scientific programming…Rust? > m...

發布於 Random

文科生也能懂的 Rust async 机制(简体版)

考虑到其他语区的朋友,我使用 繁化姬 将这篇文章全文转换为简体(暂时不包含图档)。简体版是以 commit 89f7c52 为底进行转换,若未来有一些更新,亦会随之同步并在此更新。 希望这篇文章能帮到所有地方的 Asynchronous Rust 初学者 :) 如果未来有机会,也会考虑翻译成英文版本。 背景https://twitter.com/repsiace/status/15541...

發布於 Developments

文組也能懂的 Rust async 機制

背景https://twitter.com/repsiace/status/1554103778994900992/ 修改一下:work stealing, thread-per-core, waker, mpsc, task queue 只有他们懂… 正常人不可能看懂 – @twicemoemoe, 22-08-02 作為一個文組,其實覺得 async 真的沒有想像中的這麼困難 ⋯⋯...

發布於 Developments

Rust 的 crate/super/self 關係

假設 rust_hello_world 的目錄架構長這樣:(範例源自於我手邊的某個 production 專案) rust_hello_world Cargo.toml src cli opt.rs lib.rs cli.rs logger.rs 「crate」概括來說就是一個專案,用 Cargo.toml 區分。每個 mod 都是一個層級,super 就是上個層級,sel...

發布於 Developments

本站由 @pan93412 使用 Stellar 主題建立。
本 blog 所有文章除特別聲明外,均採用 CC BY-NC-SA 4.0 授權條款,轉載請標明出處。