【Rust日报】 2019-08-03
stable-bloom-filter - 稳定布隆过滤器
用来对一个数据流中的重复数据进行筛选。是 BoomFilters 的 Rust 实现版本。
Repo: https://github.com/u2/stable-bloom-filter
Rust 会在研究领域大展身手吗?
作者写了一篇文章来表达自己的见解。答案是:会。原文值得一看。
国内地址:https://docs.qq.com/doc/DQlBtWlBBbFNXeEt2
原文地址:https://medium.com/@me_26124/rust-reverses-research-ruin-88641c11a99f
通过 AVL 树来理解 Rust
AVL 树是一个自平衡二分查找树,以它的发明者 Adelson-Velsky and Landis 命名。这篇文章就通过使用 Rust 对 AVL 树的实现来深刻理解 Rust 中的主要概念。
国内地址:https://docs.qq.com/doc/DQmNmTWxOcWdpeHJK
原文地址:http://francismurillo.github.io/2019-07-31-Understanding-Rust-Through-AVL-Trees/
moveslice - 一个简单的库,用来对slice中的一部分进行移动
功能很简单,比如:
use moveslice::Moveslice;
let mut arr = [1,2,3,4,5,6,7,8,9];
// The following moves the slice 3..6 to index 1.
// In effect, it moves [4,5,6] over to where [2] is.
arr.moveslice(3..6, 1);
assert_eq!(arr, [1,4,5,6,2,3,7,8,9]);
Repo: https://github.com/Calmynt/moveslice
其实相关的评论很有价值,我这里整理出来,对于学习是非常好的一手实践材料。
国内地址在这里:https://docs.qq.com/doc/DQkJscUd0REhCZkdX
ruzzt - 一个 ZZT 游戏引擎
克隆自 DOS 游戏 ZZT 的引擎。
Repo: https://github.com/yokljo/ruzzt
rusty-sandbox - 一个 Rust 沙盒库
沙盒库的意思,就是可以随便在里面玩儿,里面崩了不会影响外面的进程状态。跟 Docker 有点像,但是是更轻量型的语言内的沙盒。
- any normal computation (not I/O)
- I/O operations on existing file descriptors (i.e. files and sockets opened before entering the sandbox)
- accepting connections on an existing socket (which creates new file descriptors)
- opening files under pre-selected directories though the Sandbox/SandboxContext API (which creates new file descriptors)
Repo: https://github.com/myfreeweb/rusty-sandbox
ternimal - 模拟生命的形式?
简单地被其动画吸引了,已经上升到美学和哲学层面。这种库不推还推什么,哈哈。
Repo: https://github.com/p-e-w/ternimal
国人 importcjj 哥出的 ajson 库
快速读取 JSON 值 。借鉴自 https://github.com/tidwall/gjson
Repo: https://github.com/importcjj/a-json
From 日报小组 Mike
日报订阅地址:
独立日报订阅地址:
社区学习交流平台订阅:
Leave 【Rust日报】 2019-08-03 to:
Read more #rust posts
Best Posts From ChaosBot
We have not curated any of blackanger's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.