Golomb-compressed sets(GCS)是一种空间利用率很高的数据结构,可以用于判断一个元素是否属于这个集合。它与 Bloom Filter 非常类似,区别是它的压缩率更高,同时查询效率更低。同样,GCS 也有将原本不属于集合的元素误判为属于的可能(false positive)。
这个库为 Rust 实现版本。
Repo
像下面这样写递归现在是不行的。
async fn foo(n: usize) {
if n > 0 {
foo(n - 1).await;
}
}
这里给出了一些解释。大体上说是异步函数编译成状态机后的一些限制,balabala,可以进帖子查看。
这个库用于分配一个全局固定存储,特别适合嵌入式设备使用。库刚刚发布,感兴趣可以参与进去。
Repo
直接上图:
细节可在下文中追寻。
Read more
在这里 Possible Java to Rust switch for a securities trading platform
希望有助于致力于把 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 会议。很方便了。
https://timetill.rs/
前 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