Rust哪邊不安全? 作者提到 unsafe 關鍵字讓很多人誤解了 rust 在 unsafe裡面很不安全, 其實 unsafe 裡面還是有做很多檢查,這篇文也比較了 python 與 rust 的內存安全差異。 文章列舉了 saf
Rust哪邊不安全?
作者提到 unsafe 關鍵字讓很多人誤解了 rust 在 unsafe裡面很不安全,
其實 unsafe 裡面還是有做很多檢查,這篇文也比較了 python 與 rust 的內存安全差異。
文章列舉了 safe 範圍的 rust做了什麼樣的保證, unsafe 的rust做了什麼樣的保證,
與程式員需要做出相對的契約保證。
如果你想讓你的程式更安全、更好維護那這篇文章值得一看。
read more
一節 Rust社群語音 1.36特別篇
對下面議題有興趣的可以聽聽
4:27 - std::future11:29 - std::task
14:22 - the alloc crate
18:52 - std::collections::HashMap and hashbrown
22:50 - std::mem::MaybeUninit and the deprecation of std::mem::uninitialized (mentioned: Error::type_id destabilization and std::pin discussion)
36:24 - NLL for Rust 2015 (mentioned: MIR)
44:45 - cargo --offline and cargo fetch
46:50 - ongoing stdlib constification
47:25 - read_vectored and write_vectored
49:05 - Iterator::copied
49:58 - dbg! enhancements
51:19 - #[must_use] for is_err and is_ok
read more
cargo-crev v0.8 出了
值得注意的是,此版本引入了User Guide跟其它文檔
其它改動
- verify deps 改成 verify
- 關閉草稿編輯器時沒有存檔