前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【Rust日报】 2019-08-03:Rust 会在研究领域大展身手吗?

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

作者头像
MikeLoveRust
发布2019-08-06 16:56:30
4730
发布2019-08-06 16:56:30
举报
文章被收录于专栏: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中的一部分进行移动

功能很简单,比如:

代码语言:javascript
复制
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

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2019-08-03,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 Rust语言学习交流 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • stable-bloom-filter - 稳定布隆过滤器
  • Rust 会在研究领域大展身手吗?
  • 通过 AVL 树来理解 Rust
  • moveslice - 一个简单的库,用来对slice中的一部分进行移动
  • ruzzt - 一个 ZZT 游戏引擎
  • rusty-sandbox - 一个 Rust 沙盒库
  • ternimal - 模拟生命的形式?
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档