#meetup
Read More
#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
#unsafe
(这名字起的好:Sidereophile,噬铁菌,对金属有亲和力)
Siderophile会发现你代码中的unsafe代码,并且会给这些代码进行安全性排序,辅助你进行模糊测试。
Read More
siderophile
#Rust
到底Rust是否适合小白?本文算是一个答案。
本文作者不是一名程序员,他从去年开始想要创建一个自己的个人棒球数据基础设施,所以想自学一门编程语言,后来选择了Rust。这之前他也了解过R/ Python,来看看他写的两篇文章,看看他如何理解Rust,以及他如何通过类比棒球比赛(代码示例)来理解Rust的所有权。
(我看他这两篇文章写的一点儿都不像是个零基础刚入门的小白)
Read More
#LTO
为了使Rust能够与用其他语言编写的代码进行互操作,调用必须通过C-ABI。所以它是内联过程优化的边界。跨语言LTO使此边界对LLVM透明,有效地允许将C/C++代码内联到Rust代码中,反之亦然。
Read More
这篇issues比较详细解释了跨语言LTO
#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 语言学习交流
原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。