【Rust日报】 2019-08-08

in #rust5 years ago

lzjd-rs - Lempel-Ziv Jaccard Distance 算法的 Rust 实现库

这个库的作用是这个,随着数据的增多,想要从各种数据中识别出用户的关键(敏感)信息,就越来越困难,必须使用一定的工具来进行自动化处理。而这个算法就在这个过程中起作用。详情请查阅:https://tweedegolf.nl/blog/33/implementing-lempel-ziv-jaccard-distance-lzjd-in-rust

Repo: https://github.com/tweedegolf/lzjd-rs

在使用现有的Rust设施模拟 HKT(Higher-Kinded Types )上的尝试

属于研究范畴了,作者还有后续文章,请持续关注。

Read More: https://gist.github.com/edmundsmith/e09d5f473172066c0023ef84ee830cad

Kate 编辑器对 Rust rls 的支持已经落实了

Kate,对,就是原来 KDE 中的那个 Kate,现在已经在其主分支上支持了 Rust 的 rls。想尝鲜的可以下下来试一下。

Read More: https://kate-editor.org/post/2019-08-07-kate-initial-rust-lsp-support/

NRC 大佬的博客文章,对 tikv 的 futures 0.1 升到 0.3 过程的记录

之前推过,今天社区又比较关心,故再次推一下。

Read More: https://tikv.org/blog/client-futures/

fractals_rust - 生成分形渲染图

可以并行渲染,适合新手练习。

img

Repo:https://github.com/Smoltbob/fractals_rust

boggle-solver - 通过解决 boggle 问题来展示 crossbeam-deque

Boggle 游戏是一种找字游戏,说明在[这里](https://en.wikipedia.org/wiki/Boggle),作者通过尝试将多线程与 crossbeam-deque 配合使用实现了高性能的解题武器。

Repo: https://github.com/elfsternberg/boggle-solver

q 框架 - 通用队列自动机运行时实现

包含:

  • A event based Descrete Event Simulator(DES)
  • A Queue Network, consists of Servers(Operator), Queues(Communication Channel)

感觉已经超出了小编的认知了,谁能来讲一下?

比如,它可以对斐波拉契公式映射成下面这个:

Fib(n) = Add ( Fib(n -1 ) , Fib (n-2), Fib(0) = 0, Fib(1) = 1.

  cargo run -- 5
@0000000000 queue = []
@0000000005 queue = [1]
@0000000007 queue = [1, 1]
@0000000012 queue = [2]
@0000000013 queue = [2, 1]
@0000000015 queue = [3]
@0000000016 queue = [3, 0]
@0000000018 queue = [3]
@0000000018 queue = [3, 0]
@0000000019 queue = [3]
@0000000020 queue = [3, 1]
@0000000023 queue = [4]
@0000000023 queue = [4, 1]
@0000000024 queue = [5]
@0000000025 queue = [5, 0]
@0000000027 queue = [5]
@0000000027 queue = [5, 0]
@0000000028 queue = [5]
@0000000029 queue = [5, 0]
@0000000030 queue = [5, 0]
@0000000030 queue = [5, 0]
@0000000031 queue = [5]
Result 5

Repo: https://github.com/max6cn/q


From 日报小组 Mike

日报订阅地址:

独立日报订阅地址:

社区学习交流平台订阅:

Sort:  

Congratulations @blackanger! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published more than 350 posts. Your next target is to reach 400 posts.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.030
BTC 61703.75
ETH 2432.41
USDT 1.00
SBD 2.63