< 返回版块

qwy16 发表于 2020-04-28 19:44

Tags:rust gRPC Streamers Colorus

【Rust日报】2020-04-28 - gRPC, Streamer, Colorus

Rust语言gRPC入门

Intro to gRPC with Rust

https://dev.to/anshulgoyal15/a-beginners-guide-to-grpc-with-rust-3c7o

这个小哥Anshul Goyal写了一个关于gRPC入门的教程,有兴趣学习的同学们可以看看。很不错!

内容提纲:

  • Introduction
  • Protocol Buffer
  • Rust and gRPC
  • Creating a Server
  • Creating a Client
  • Streaming in gRPC
  • Authentication
  • Conclusion

Cargo Bloat Action: 跟踪Github上进行了cross builds/pull操作的Rust二进制大小

Cargo Bloat Action: Track Rust binary sizes across builds/pull requests using Github Actions

https://github.com/orf/cargo-bloat-action/

跟踪Github上进行了cross builds/pull操作的Rust二进制大小

Colorous: 一个用于图标和地图的颜色色系库

Colorous: new color scheme library for charts and maps

https://github.com/dtolnay/colorous

这个Rust语言库包提供了各种颜色色系的库,包括: sequential, diverging, Cyclical, Categorical 这些颜色库是常见的额d3-scale-chromatic 继承过来的。每一种颜色使用起来都很简单,通过indexi/n或者通过连续的浮点数就可以表示0 ≤ t ≤ 1

  • pub fn eval_rational(&self, i: usize, n: usize) -> Color
  • pub fn eval_continuous(&self, t: f64) -> Color

代码例子:

let gradient = colorous::VIRIDIS;
for i in 0..100 {
    println!("{:x}", gradient.eval_rational(i, 100));
}

(几乎) 不用锁的Stream Buffering编程

(Almost) Lockless Stream Buffering
https://mcfelix.me/blog/shared-buffers/

Tags: Rust Discord Audio Concurrency

(几乎) 不用锁的Stream Buffering编程,文章讲述如何高效的分享(或保持)bytestreams。

Rust语言辅助学习网络直播达人清单

List of Rust streamers

https://github.com/jamesmunns/awesome-rust-streaming

Rust语言辅助学习网络直播清单,网络上比较出名的streamers包括:

Rust Notebooks:Anaconda, Jupyter, and Rust 设置教程

Setup Anaconda, Jupyter, and Rust for Rust Notebooks

https://shahinrostami.com/posts/programming/rust-notebooks/setup-anaconda-jupyter-and-rust/

Anaconda, Jupyter, and Rust 设置教程

From 日报小组 BobQ

独立日报订阅地址:

社区学习交流平台订阅:

评论区

写评论
phper-chen 2020-04-30 12:41

嗯 本期有不少rust网络相关的东西 值得mark

chenwei767 2020-04-28 20:39
厉害
1 共 2 条评论, 1 页