微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

【Rust日报】 2019-08-03:Rust 会在研究领域大展身手吗?

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 - 模拟生命的形式?

简单地被其动画吸引了,已经上升到美学和哲学层面。这种库不推还推什么,哈哈。

图片

图片

图片

图片


版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐