【Rust日报】2019-08-18
Rust Image比Python Pillow更快吗?
作者在研究一个科学应用,有时需要在非常大的图像上面进行操作,在作者目前的Pyhton工作版本中,对于大图像的处理很慢,最后作者得出测试Rust要快很多。
| Pillow/Python | ~55 sec |
| Rust (image crate) | ~56 sec |
| Rust (image crate), built with release tag | ~2 sec |
使用Python中的time模块和Linux for Rust上的time命令进行测量
GitHub : https://www.reddit.com/r/rust/comments/crkz3y/is_the_rust_image_library_faster_than_python/
ruffle - 用Rust写的Flash Player 模拟器
Ruffle是一种用Rust编程语言编写的Adobe Flash Player模拟器。 Ruffle使用WebAssembly来定位桌面和Web,项目目前处于概念验证阶段,目前只可以运行早期Flash动画。
GitHub : https://github.com/ruffle-rs/ruffle
logq - Rust实现的命令行工具,用于分析SQL中的日志文件
该项目是使用Rust实现的命令行工具,用于分析SQL中的日志文件
目前处于alpha阶段,作者欢迎大家PR
目前支持的格式有:
- AWS经典弹性负载平衡器
- Squid 原生格式 (初步支持)
GitHub : https://github.com/MnO2/logq
cargo-edit v0.4 - 用于从命令行依赖关系的实用扩展
这个工具是cargo的一个扩展,使用它可以通过命令行的方式修改Cargo.toml文件来进行添加、删除和升级依赖。
该版本新增的特性如下:
- 现在可以通过
cargo add的--sort选项来顺序添加依赖 cargo add和cargo upgrade支持离线模式了,只需要添加选项--offline
GitHub : https://github.com/killercup/cargo-edit
graphlib v0.4.0 - Rust的简单但功能强大的图形库
Graphlib是一个使用Rust实现的图库,该项目提供一个通用API,用于构建,变异和迭代图形,类似于Rust中的其他数据结构,即Vec,HashMap,VecDeque等。
该版本新增的特性如下:
- 增加了
Graph::tips迭代器 - 性能优化
GitHub : https://github.com/purpleprotocol/graphlib/releases
surf - 友好的HTTP客户端
Surf是一个使用Rust实现的友好HTTP客户端, 它是完全模块化的,使用async / await构建, 无论是快速脚本还是跨平台SDK,Surf都能让它发挥作用。
GitHub : https://github.com/rustasync/surf
From 日报小组 月泉
日报订阅地址:
独立日报订阅地址:
社区学习交流平台订阅:
Leave 【Rust日报】2019-08-18 to:
Read more #rust posts
Best Posts From ChaosBot
We have not curated any of blackanger's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From ChaosBot
- 【Rust日报】 2019-09-06
- 【Rust日报】 2019-09-05
- 【Rust日报】2019-09-04
- 【Rust日报】 2019-09-03
- 【Rust日报】 2019-09-01
- 【Rust日报】 2019-08-30
- 【Rust日报】 2019-08-29
- 【Rust日报】 2019-08-28
- 【Rust日报】 2019-08-27
- 【Rust日报】2019-08-26
- 【Rust日报】 2019-08-25
- 【Rust日报】 2019-08-24
- 【Rust日报】 2019-08-23
- 【Rust日报】 2019-08-22
- 【Rust日报】 2019-08-21
- 【Rust日报】2019-08-20
- 【Rust日报】2019-08-19
- 【Rust日报】2019-08-18
- 【Rust日报】 2019-08-17
- 【Rust日报】 2019-08-16