【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
跟踪Github
上进行了cross builds/pull
操作的Rust
二进制大小
Colorous: 一个用于图标和地图的颜色色系库
Colorous: new color scheme library for charts and maps
这个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
Rust语言辅助学习网络直播清单,网络上比较出名的streamers包括:
-
David Pedersen
- YouTube Channel:https://www.youtube.com/channel/UCDmSWx6SK0zCU2NqPJ0VmDQ
- Twitch Channel: https://www.twitch.tv/davidpdrsn
- GitHub,
- CLI Tools, Teaching
-
Ferris Streams Stuff
-
Ferrous Systems
-
YouTube Channel - https://www.youtube.com/c/FerrousSystemsGmbH
-
Q&A sessions, Embedded, Compiler contributions, Tooling
-
-
James' Office Hours
- YouTube Channel: https://www.youtube.com/channel/UCb48C4qqcXQpRugPbdwigZQ
- Old YouTube Channel: https://www.youtube.com/c/JamesMunns/
- GitHub: https://github.com/jamesmunns
- Twitter: https://twitter.com/bitshiftmask
- Blog: https://jamesmunns.com/
- Embedded, CLI tools
-
Jon Gjengset
- YouTube Channel: https://www.youtube.com/c/JonGjengset/
- Twitch Channel: https://www.twitch.tv/jonhoo
- GitHub: https://github.com/Jonhoo
- Twitter: https://twitter.com/jonhoo
- Website: https://thesquareplanet.com/
- Teaching, Databases, Concurrency
-
Ryan Levick
- YouTube Channel: https://www.youtube.com/channel/UCpeX4D-ArTrsqvhLapAHprQ
- Twitch Channel: https://github.com/jamesmunns/awesome-rust-streaming/blob/master/twitch.tv/ryanlevick
- GitHub: https://github.com/rylev
- Twitter: https://twitter.com/ryan_levick
Teaching, Web Assembly
-
Yoshua Wuyts
- YouTube Channel: https://www.youtube.com/yoshuawuyts
- Twitch Channel: https://www.twitch.tv/yoshuawuyts
- GitHub: https://github.com/yoshuawuyts/
- Twitter: https://twitter.com/yoshuawuyts
- Blog: https://blog.yoshuawuyts.com/
- Async, Web, API Design
-
Brandon Falk
- YouTube Channel: https://www.youtube.com/user/gamozolabs
- Twitch Channel: https://www.twitch.tv/gamozo
- GitHub: https://github.com/gamozolabs
- Twitter: https://twitter.com/gamozolabs
- Blog: https://gamozolabs.github.io/
- OSdev, Hypervisors, Fuzzers
-
Stefano Casillo - Jaxx Vane Studio Live
- YouTube Channel: https://www.youtube.com/channel/UC7n_g2xDySrmKRaf41rSwlg
- Twitch Channel: https://www.twitch.tv/kunosstefano
- Twitter: https://twitter.com/KunosStefano
- Gamedev
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
独立日报订阅地址:
社区学习交流平台订阅:
评论区
写评论嗯 本期有不少rust网络相关的东西 值得mark
厉害