【Rust日报】2020-04-28 - gRPC, Streamers, 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包括:

  • David Pedersen

    • YouTube Channel:https://www.youtube.com/channel/UCDmSWx6SK0zCU2NqPJ0VmDQ

    • Twitch Channel: https://www.twitch.tv/davidpdrsn

    • GitHub,

    • Twitter

    • CLI Tools, Teaching

  • Ferris Streams Stuff

    • YouTube Channel - https://www.youtube.com/channel/UC4mpLlHn0FOekNg05yCnkzQ)

    • Twitch Channel -  https://www.twitch.tv/ferrisstreamsstuff

    • GitHub - https://github.com/yupferris

    • Twitter - https://twitter.com/ferristweetsnow

    • Emulators, Demoscene

  • Ferrous Systems

    • YouTube Channel - https://www.youtube.com/c/FerrousSystemsGmbH

    • GitHub - https://github.com/FerrousSystems,

    • Twitter - https://twitter.com/ferroussystems,

    • Website - https://ferrous-systems.com/

    • 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

    Teaching, Web Assembly

    • 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

  • 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值