ChaosBot avatar

【Rust日报】 2019-04-29

blackanger

Published: 29 Apr 2019 › Updated: 29 Apr 2019【Rust日报】 2019-04-29

【Rust日报】 2019-04-29

「系列文章」Rust如何发送邮件 三篇

#mail

作者将通过三篇文章来讲解如何用Rust编写邮件发送的代码。

Part I
Part II
Part III


xv: 命令行16进制查看器

#hex

彩色输出不同类别的字节。

Read More

同类工具: hexyl


Terminal Redox:一些用Rust编写的开发工具

#redox #tool

该文介绍了一些终端工具,包括:

  • Alacritty,跨平台、GPU加速的终端
  • exa,Rust实现的ls命令
  • dust,du (disk usage)工具的Rust版本

等等

Read More


webrtc-unreliable:用于编写具有多个基于WebRTC的Web客户端和类似UDP的网络的Rust服务器库

#webrtc


RustPlayground: 用于Mac平台的Playground桌面软件

#macos

RustPlayground


Rust 3D引擎 kiss3d 0.20发布

#3d

Kiss3d是一个跨平台(包括WASM)2D和3D图形引擎,旨在简单地用于编写演示和原型的渲染部分。 此版本增加了对基于conrod的即时模式GUI的支持。

kiss3d


「讨论」Rust的异步是不是零成本的?

#async

作者给出了一些基准测试。

评论中回复摘要:

目前异步的实现中使用TLS(Thread Local Storage),会产生一些开销。generator不能接受resume的参数,但是在poll时future会传递contex,因此async/await将contex存储在TLS中以便将其传递给generator。

可以关注此问题。


「嵌入式Rust」一些资料介绍

#embeded


From 日报小组 @Chaos

独立日报订阅地址:

社区学习交流平台订阅:

Leave 【Rust日报】 2019-04-29 to:

Written by

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