/news/2018/09/15.md
https://github.com/RustStudy/rust_daily_news · Markdown · 67 lines · 35 code · 32 blank · 0 comment · 0 complexity · 971dea4030ae8d8bd040b5d096437624 MD5 · raw file
- ### indexlist: 基于Vector的双向链表
- 这是steveklabnik发布的一个新的crate,使用了分代索引模式基于Vector来建立链表,确保引用的正确性。并且是100% Safe Rust。
- 这种方式可以避免循环引用。
- - [原文](https://users.rust-lang.org/t/indexlist-a-doubly-linked-list-backed-by-a-vector/20434)
- - [indexlist](https://github.com/steveklabnik/indexlist/)
- 但是和这个库比怎么样呢? [generational-arena](https://github.com/fitzgen/generational-arena)
- 该库Readme中罗列的ABA问题,indexlist是否避免了呢?
- ---
- ### Rust:传值还是传引用?
- [原文](https://blog.ryanlevick.com/posts/rust-pass-value-or-reference/)
- ---
- ### Julia挑战赛
- 作者希望Rust也参与,大家踊跃应战吧!
- [原文](https://nextjournal.com/sdanisch/the-julia-challenge)
- ---
- ### Ripgrep 现在ubuntu上可用
- [原文](https://github.com/BurntSushi/ripgrep/pull/1054)
- ---
- ### 你不能在Rust中关闭借用检查
- 官方steveklabnik写文章来驳斥社区中「unsafe代码可以关闭借用检查器」这种说法,并给予了详细的解释。
- [原文](https://words.steveklabnik.com/you-can-t-turn-off-the-borrow-checker-in-rust)
- ---
- ### StackoverFlow已经累计了超过1万个Rust相关问题
- [原文](https://stackoverflow.com/questions/tagged/rust)
- ---
- ### Smallvectune :测量SmallVec的足迹
- 这是一个smallvec的包装,用来跟踪所有容量的变化,记录到一个文件中,以便事后总结。
- [原文](https://llogiq.github.io/2018/09/13/smallvec.html)
- ---
- ### Rust关联类型
- 本文比较了泛型和关联类型,帮助你更好的理解关联类型
- [原文](https://medium.com/codechain/rust-associated-type-2281dbf98229)
- ---
- - ( 每日新闻[备份地址](https://github.com/RustStudy/rust_daily_news) )
- - [Telgram Channel : https://t.me/rust_daily_news ](https://t.me/rust_daily_news )