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

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

图片

图片

图片

图片


相关文章

developer-roadmap —— 提供最全的开发者技术路线指南。前端...
一个极简的文件分享工具,无需注册且没有广告即可生成共享下...
收集 Github、Gitee优秀的开源项目,并进行归类整理。项目地...
大家好,我是 Java陈序员,我们有时会搭建一个属于自己的网站...
一个提供交互式的Web UI用于生成兼容MyBatisPlus框架的相关功...
大家好,我是 Java 陈序员。权限认证是我们日常开发绕不过的...