【Rust日報】2020-07-19 Trait 工做組 2020 Sprint 3 總結

Trait 工做組 2020 Sprint 3 總結
Trait 工做組的目標是完善 Chalk ,以便將其最終用於 rustc 中解決 trait的各類問題。看上去,工做組的一個Sprint週期是6周左右。
Chalk 由多個獨立crate組成,其結構:
  • chalk-derive :  定義了派生宏(derive proc macros)
  • chalk-ir : 基本的「類型庫」,用於在 rustc、rust-analyzer和Chalk之間共享
  • chalk-solve:定義 chalk-ir 中類型的Rust 語義
  • chalk-engine :實現SLG 求解器
  • chalk-recursive :實現遞歸求解器
  • chalk-parse : 用於測試,將 相似Rust的語法解析爲chalk-ir 和  chalk-solve  的類型
  • chalk-integration :用於爲測試提供有用的類型
  • chalk:用於測試,提供REPL
關於具體什麼是 Chalk,能夠看看  Chalk Book:http://rust-lang.github.io/chalk/book/what_is_chalk/crates.html
目前狀態:
  • 進一步完善 Chalk 對 GAT 的支持。GAT相關 Issues:https://github.com/rust-lang/rust/issues/44265
  • 提取表示類型的共享庫
  • 支持 .chalk 文件用來debug
  • 上一個sprint支持了 impl Trait,這個sprint 繼續提高對impl Trait的支持
  • 完善Chalk對Rust語義的支持
  • 處理生命週期約束
感受目前Chalk還有不少工做要作,接下來 官方宣佈成員們要休假,可能到9月份再繼續工做。。。
https://blog.rust-lang.org/inside-rust/2020/07/17/traits-sprint-3.html

官宣:crates.io 的API 密鑰須要從新生成了

最近官方受 Rust安全響應工做組通知檢查 有關影響crates.io (http://%E6%9C%89%E5%85%B3%E5%BD%B1%E5%93%8Dcrates.io) Web應用程序中令牌生成的安全問題,而且在調查該問題的同時,他們發現了另外一個影響crates.io API令牌的漏洞。
目前沒有證據證實這個漏洞已經被利用了,可是官方仍是選擇了撤銷如今crates.io上全部的API密鑰。開發者們能夠在 crates.io/me  頁面從新生成一個新的。
https://blog.rust-lang.org/2020/07/14/crates-io-security-advisory.html
https://nbsoftsolutions.com/blog/guidelines-on-benchmarking-and-rust

一些底層的學習 Booting to 'Hello Rust!'

做者在經過Rust學習一些操做系統底層的東西,這篇文章是第一篇,記錄了他如何在x86_64上引導至裸機Rust。
https://micouy.github.io/posts/low-level-pt-1/

2020年Rust會參與Linux內核編寫嗎?

讓咱們來討論一下這個話題('Will 2020 Be The Year Of Rust In The Linux Kernel?')!
Linus Torvalds also touched on Rust earlier this month.
https://developers.slashdot.org/
https://www.zdnet.com/article/linus-torvalds-looks-at-the-future-of-linux-kernel-developers-and-development/
https://hackaday.com/2020/07/15/will-2020-be-the-year-of-rust-in-the-linux-kernel/

"Who's Hiring", job-seekers and job-offerers

這是一個供我的和僱主使用的,用來發布求職和招聘信息的 Reddit 帖子,具體的發帖規則(Rules)能夠看帖子
https://www.reddit.com/r/rust/comments/htnv19/official_rrust_whos_hiring_thread_for_jobseekers/

Rust 基準性能測試指南

本文涵蓋了  Criterion、valgrind、kcachegrind的使用
Criterion 是一個能夠用於Stable Rust的基準性能測試庫,而且能夠生成漂亮的性能測試報告(Web、console)。

https://github.com/bheisler/criterion.rs/blob/master/README.md
html


From 日報小組 格朗, Lanpeng
社區學習交流平臺訂閱:
  • Rustcc 論壇: 支持 rss
  • 微信公衆號:Rust語言中文社區

本文分享自微信公衆號 - Rust語言中文社區(rust-china)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。linux

相關文章
相關標籤/搜索