真实世界中的Rust: 使用 ES 构建超快数据索引
本文使用 Rust 和一些常用的技术,构建一个具有下面功能的微服务:
- 使用 actix-web 构建超快的 REST 接口
- 使用 ES 的 bulk api 快速的构建大量数据的索引
原文链接: https://itnext.io/rust-in-the-real-world-super-fast-data-indexing-with-elasticsearch-15feeb239ba7分享小众但是好用的 crate
这是 reddit 上的一个帖子, 大家各自分享了一些小众,但是很好用的 crate.数量不少, 看看有没有你觉的有用的 crate ?原文链接: https://www.reddit.com/r/rust/comments/106w4ao/what_are_some_less_popular_but_wellmade_crates/Rust 和 C++ 的 格式化对比
本文对 Rust 和 C++的常用格式化技术做了深入的对比, 对于从 C++转入到 Rust 的同学会帮助很大.原文链接: https://brevzin.github.io//c++/2023/01/02/rust-cpp-format/Fyrox 游戏引擎: 0.29 重点特性
Fyrox 是一个 Rust 编写的 2D 和 3D游戏引擎. 目前 0.29 版本发布.
原文链接: https://fyrox.rs/blog/post/feature-highlights-0-29/H3 的 Rust 实现版本
H3 是 Uber 的一个 地理空间索引系统, 此库是一个 Rust 实现版本.特点是 更安全,更容易使用, 100% Rust,没有 C 依赖,可以编译成 wasm 等, 甚至在某些情况下比c 语言实现的库还要快.use h3o::{LatLng, Resolution};
let coord = LatLng::from_degrees(37.769377, -122.388903).expect("valid coord");
let cell = coord.to_cell(Resolution::Nine);
github地址: https://github.com/HydroniumLabs/h3o
原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。