In Rust We Trust 活动回顾视频已上传B站
#meetup
Read More
async-trait: 为trait提供async fn支持
#async
async/await将在Rust 1.38中稳定,但是还不会支持trait中的异步方法,所以,dtolnay做了这个库,提供了一个属性宏#[async_trait]
来满足这个功能。
#![feature(async_await)]
use async_trait::async_trait;
#[async_trait]
trait Advertisement {
async fn run(&self);
}
async-trait
不同语言中的泛型和元编程模型
#Metaprogramming #Generics
该文作者比较了Go、Rust、Swift和D等语言中的泛型,以及阐述了这些语言中如何实现泛型。
Read More
位向量与可变长度编码
#BitVectors
作者在写压缩算法,这篇文章是作者学习使用位向量进行可变长度编码压缩算法学习过程的记录。
Read More
Siderophile: 暴露你crate中的不安全性
#unsafe
(这名字起的好:Sidereophile,噬铁菌,对金属有亲和力)
Siderophile会发现你代码中的unsafe代码,并且会给这些代码进行安全性排序,辅助你进行模糊测试。
Read More
siderophile
「系列」棒球编程与Rust
#Rust
到底Rust是否适合小白?本文算是一个答案。
本文作者不是一名程序员,他从去年开始想要创建一个自己的个人棒球数据基础设施,所以想自学一门编程语言,后来选择了Rust。这之前他也了解过R/ Python,来看看他写的两篇文章,看看他如何理解Rust,以及他如何通过类比棒球比赛(代码示例)来理解Rust的所有权。
(我看他这两篇文章写的一点儿都不像是个零基础刚入门的小白)
Read More
Mozilla在Firefox中为所有平台提供了跨语言LTO
#LTO
为了使Rust能够与用其他语言编写的代码进行互操作,调用必须通过C-ABI。所以它是内联过程优化的边界。跨语言LTO使此边界对LLVM透明,有效地允许将C/C++代码内联到Rust代码中,反之亦然。
Read More
这篇issues比较详细解释了跨语言LTO
「用Rust写前端系列文章」如何模块化你的Rust前端
#yew
该文教你用Yew的函数和组件来模块化代码。
Read More
北京区块链创业公司招人
#Job
Key responsibilities:
Work with product to translate the requirements into high level design.
Coordinate the engineering to assign/prioritize tasks dynamically.
Build high quality code by developing both unit and integration testing
Participate in code reviews to ensure new code conforms to highest standards
Work with team to troubleshoot code level problems quickly and efficiently
Requirements:
Bachelors Degree in Computer Science or related field
5 years+ software programing experience
Experience with blockchain technologies, like ethereum, smart contracts, and p2p networking.
Rust experience in production environment.
Experience with substrate is a plus
地址在北京, 薪水40-60万, 联系 zhengpeng.hou [at] gmail
From 日报小组 Chaos
日报订阅地址:
独立日报订阅地址:
Telgram Channel
阿里云语雀订阅
Steemit
GitHub
社区学习交流平台订阅:
Rust.cc 论坛: 支持 rss
Rust Force: 支持 rss
微信公众号:Rust 语言学习交流