< 返回版块

Mike 发表于 2019-07-11 11:43

Tags:rust

golomb-set - 比布隆过滤器压缩率更高的库

Golomb-compressed sets(GCS)是一种空间利用率很高的数据结构,可以用于判断一个元素是否属于这个集合。它与 Bloom Filter 非常类似,区别是它的压缩率更高,同时查询效率更低。同样,GCS 也有将原本不属于集合的元素误判为属于的可能(false positive)。

这个库为 Rust 实现版本。

Repo

这样写异步递归行不行?

像下面这样写递归现在是不行的。

async fn foo(n: usize) {
    if n > 0 {
        foo(n - 1).await;
    }
}

这里给出了一些解释。大体上说是异步函数编译成状态机后的一些限制,balabala,可以进帖子查看。

static-alloc

这个库用于分配一个全局固定存储,特别适合嵌入式设备使用。库刚刚发布,感兴趣可以参与进去。

Repo

用 Rust 点亮树莓派上的 LED 阵列

直接上图:

img

细节可在下文中追寻。

Read more

关于 Rust 能否用在(高频)交易系统中的相关资料汇集和讨论

在这里 Possible Java to Rust switch for a securities trading platform

希望有助于致力于把 Rust 用在金融领域的同学。

Loopy Bayes Net 的 Rust 实现

loopybayesnet 是一个 Loopy Belief Propagation 算法的 Rust 实现。属于神经网络/深度学习领域的算法。关于它与 Bayesian networks 的区别:

Bayesian networks can be used to encode a set of causal or logical probabilistic dependency between events. They take the shape of directed acyclic graphs, each node being associated with a probability table defining the probability of it taking each possible values depending on the values of its parents. For further details, you can check Wikipedia.

The Loopy Belief Propagation is an algorithm that computes an approximation of the marginal probability distribution of each node of the network, conditionned by the value of a chosen set of "observed" variables, for which the values are set beforehand.

未来全世界 Rust 会议的一个汇编网站

专门用于罗列在哪些地方什么时候将要举办(已经举办)哪些 Rust 会议。很方便了。

https://timetill.rs/

重磅:Rust 的 http plain test 在 techempower 上已经霸榜了,hyper 拿下头名

前 10 结果如下:

1	hyper	7,007,513	
2	tokio-minihttp	7,006,181	
3	ulib-plaintext_fit	7,004,608	
4	actix	7,000,911	
5	ulib	6,998,172	
6	libreactor	6,997,422	
7	actix-raw	6,996,104	
8	atreugo-prefork	6,995,436	
9	firenio-http-lite	6,994,344	
10	aspcore	6,993,704	

聪明的你认得出哪些是 Rust 的孩子么?

hyper 冲上头名,举社区欢庆! :)

Read more


From 日报小组 Mike

日报订阅地址:

独立日报订阅地址:

社区学习交流平台订阅:

评论区

写评论

还没有评论

1 共 0 条评论, 1 页