ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

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

2021-05-10 13:54:09  阅读:113  来源: 互联网

标签:03 github 08 Repo https com moveslice 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 - 模拟生命的形式?

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

图片

图片

图片

图片


标签:03,github,08,Repo,https,com,moveslice,Rust
来源: https://blog.51cto.com/u_15127605/2765235

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有