【Rust日报】 2019-06-18

in rust •  6 years ago 

「嵌入式Rust」如何在ESP上使用Rust

#ESP

这篇文章简要介绍了ESP32开发板相关的Rust生态。

Read More

命令行下的闹钟

#cli

tock

rs-pbrt 0.6 发布

#pbrt

rs_pbrt是对《Physically Based Rendering,PBRT(光线跟踪:基于物理的渲染) 》这本书中代码的Rust实现。

Read More

使用Rust加速JavaScript

#nodejs

使用Rust和通过FFI加速项目后端的Nodejs服务,也可以使用Rust和WASM来加速前端页面。

Read More

类型状态(Typestates)模式

#pattern

Typestates是一种将状态属性(程序正在处理的动态信息)迁移到类型级别(编译器可以提前检查的静态世界)的技术。该文作者基于Typestates探讨了一个更广泛的主题,将其扩展为一种模式,用于API设计。

作者认为,使用类型状态模型,可以防止破坏指定规则的代码正常编译,从而帮助程序员更早发现错误并消除运行时检查的开销。该文举了两个简单示例,然后也谈到serde库里的Serializer使用了该模式,用来建立一个相当复杂的状态机。

(也许是Rust语言的特有模式?)

Read More

Rust中的线程

#thread

这篇文章图文并茂地系统的介绍了Rust中多线程并发、内存可见性、锁和原子类型等概念。

Read More

「视频」Things I Learned (TIL)

#video

Rust 核心团队leader在PLISS大会上的另一场分享,讲述了他在设计和实现Rust的过程中所学到的东西。

fast_paths: 计算加权有向图最短路径的快速算法

#DirectedGraph

据作者称,比标准Dijkstra算法要快。

fast_paths

makepad: 基于Rust实现的2D设计和动画工具

#makepad #2D #animation


From 日报小组 Chaos

日报订阅地址:

独立日报订阅地址:

社区学习交流平台订阅:

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @blackanger! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published more than 300 posts. Your next target is to reach 350 posts.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!