/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

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