作者提到 unsafe 關鍵字讓很多人誤解了 rust 在 unsafe裡面很不安全,
其實 unsafe 裡面還是有做很多檢查,這篇文也比較了 python 與 rust 的內存安全差異。
文章列舉了 safe 範圍的 rust做了什麼樣的保證, unsafe 的rust做了什麼樣的保證,
與程式員需要做出相對的契約保證。
如果你想讓你的程式更安全、更好維護那這篇文章值得一看。
read more
對下面議題有興趣的可以聽聽
4:27 - std::future
11: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
值得注意的是,此版本引入了User Guide跟其它文檔
其它改動
read more
作者提到了 docker 讓虛擬容器變的很普遍,但java的虛擬機開銷很大
作者目前只有看到 actix 好像還不錯,但他對這個框架還不夠了解,
不知道能不能做到過去他在java裡面做的事情,目前他還在研究中
read more