< 返回版块

Mike Tang 发表于 2020-03-11 22:00

Tags:rust

对 Rust build pattern 的新思考 - Init Struct Pattern

文章浅显易懂,有一些有价值的思考,推荐阅读:

https://xaeroxe.github.io/init-struct-pattern/

用 Rust 写的 NATS 监控 web app

Rust warp web框架写的后端。NATS[https://nats.io/]

NATS.io is a simple, secure and high performance open source messaging system for cloud native applications, IoT messaging, and microservices architectures.

https://github.com/sphqxe/NATS-WebUI

Cloudsmith 支持直接上传 Cargo 包到他们的云平台

可以直接使用 cargo publish 上传。

构建私源( a private ‘single source of truth’ )的几个优点,他写了:

  • Can be managed, secured and controlled in a systematic way
  • Is available to teams and individuals within the organization anywhere in the world via a ‘web-scale’ cloud infrastructure
  • Can be distributed on a commercial/licensed basis if necessary on the same basis
  • Supports assets all common languages and formats (Rust and Cargo being just one of dozens of supported formats)

https://blog.cloudsmith.io/2020/03/09/announcing-native-cargo-uploads-in-cloudsmith/

A C# programmer 尝试 Rust - Part 1

推荐阅读。

附带赠送一个小小的性能评测。

Test 	Elapsed Milliseconds 	Peak Memory Usage 	Memory Usage After Processing 	Memory Usage After Gen2 GC
C# - Imperative 	5444 	3.4GB 	3.4GB 	2.05GB
C# - Declarative 	6785 	3.2GB 	3.2GB 	1.9GB
Rust - Declarative 	2851 	859MB 	464MB 	N/A

https://treit.github.io/programming,/rust,/c%23/2020/03/06/StartingRust.html

wasm-tetris - Rust 写的 Tetris 克隆

俄罗斯方块啦,网页上运行的。

https://github.com/ha-shine/wasm-tetris


From 日报小组 Mike

评论区

写评论

还没有评论

1 共 0 条评论, 1 页