这是来自 http://this-week-in-rust.org /网站关于Rust的一周博文、活动、版本开发、贡献者的集锦。在此,我们转载了过来,以便国内Rust语言爱好者学习。
精彩博文:
- A Rusting Rubyist IV . Rust Structs and Arrays in Ruby.
- Rust's Built-in Traits, the When, How & Why .
- Type-checked matrix operations in Rust .
- Visualizing Rust's type-system .
- A web app with Nickel: From first line to Heroku deployment .
- Why you should take a closer look at Rust 1.0 .
- My First PR for the Rust compiler .
- [book] The Advanced Rust Programming Language .
- Abstracted Algebra in Rust, part I and part II .
新版发布和项目更新: - Racer is now at v1.0
- Raft implementation is ready to start experimenting with .
- annotated-std-rs . An annotation of the Rust standard library.
- rust-syslog . Send syslog messages from Rust.
- unrar.rs . Rust library for extracting, listing and testing RAR archives.
- msgpack-rust . MessagePack implementation for Rust.
来自RustCamp的Slides和演讲:
RustCamp 是8月1日(上周六)举办的。如果你没去现场可以看下演讲的 Slides ,视频资料在接下来的某个时间里放出:
- [pdf] Keynote by Aaron Turon and Niko Matsakis .
- [notes] Navigating the Open Seas by Carol (Nichols || Goulding) .
- [pdf] Making tools for Rust by Nick Cameron .
- [pdf] Mio: Fast Async IO for Rust by Carl Lerche .
- [slides] Who Owns This Stream of Data? by Alexis Beingessner .
What's cooking on nightly?
上周提交了130个请求。
- 高级Rust编程语言(英文电子书)。Gankro landed The Advanced Rust Programming Language , which was quickly renamed to The Rustonomicon . This book is about unsafe Rust and will become Gankro's master's thesis. Read it online .
- Nonzeroing move hints . This patch adds drop flags to the stack as part of the non-zeroing drop RFC . It does not yet remove the drop flag from objects.
- @azerupi cleaned up the design of gitbook, the tool that generates The Book.
- Deprecated
VecMap
. This little-used unstable collection has been moved to the vec_map
crate. - Deprecate a number of unstable features . The list is sizable.
- Implement
Clone
for Box<[T]> where T: Clone
- Make
AtomicPtr
Send
- Make
Rc
and Arc
mem::forget
safe . This closes some corner-case soundness holes in reference counting. - More extended errors! .
- Add a
--cap-lints
flag to the compiler . This flag will be used by Cargo to avoid breaking dependencies when lints change . - Rewrite dropck to be more correct .
- Improve SipHash performance for longer data .
- Stabilize a number of small APIs .
- Implement
Clone
for Box<str>
. - Gate associated type defaults . 1.1 stable mistakenly allowed default associated types to be written, but their use was completely broken. With other outstanding questions about the feature it has been gated for 1.2.
新的Rust贡献者名单: - Agoston Szepessy
- Andrew
- Andrew Kuchev
- Blake Loring
- Daniel Albert
- diaphore
- Jeehoon Kang
- Kieran Hunt
- krumelmonster
- Mark Buer
- Nicolette Verlinden
- Ralf Jung
- Taliesin Beynon
新通过的RFCs
- RFC 1183: Allow changing the default allocator
- RFC 1184: Stabilize the
#[no_std]
attribute
最后意见征集
Rust团队每周都发布RFCs和key PRs的'final comment period',这周主要有:
- Allow renaming imports when importing a group of symbols from a module. .
- Clarify rules for projections and well-formedness .
- Introduce a mid-level IR (MIR) in the compiler .
- Update FOLLOW set for
ty
tokens . - Add
cargo install
. - Improve ordered query API .
- Add item recovery collection APIs .
- Implement raw fat pointer comparisons .
- Add
read_exact
to Read
trait . - Allow
#[must_use]
on functions, rather than just types. .
新的RFCs: - Place left arrow syntax (
place <- expr
) . Another attempt at coming up with a pleasing 'placement new' syntax. - Turn statically-known erroneous code into a warning and unconditional panic .
- Add
Box::leak
to leak Box<T>
to a &'static mut T
. - Specify that
CoerceUnsized
should ignore PhantomData
fields .
内部讨论:
- Pre-RFC?: rustc UX guidelines .
近期的Rust活动:
- 8/5. Montreal .
- 8/10. Seattle .
- 8/11. San Diego .
- 8/19. Los Angeles .
- 8/26. Columbus Rust Society .
- 8/31. Paris .
如果你正在组织一个Rust的活动,可以在 这里 添加,或者发邮件给: Erick Tryzelaar 或者 Brian Anderson 。
工作机会(关于RustProject):
- Assistant Researcher in Karlsruhe, Germany for embedded development on ARM stm32. Contact Oliver Schneider
感谢乐其对本文的审校。
原文地址: This Week in Rust 90
相关阅读: 唐刚:Rust是近15年最佳工程实践的集大成者 ; 专访Elton:浅谈C++、Go的挑战者Rust ; 专访资深程序员庄晓立:我为什么要选择Rust?
极客头条Rust子社区,欢迎你来探讨和交流,直达地址:http://geek.csdn.net/forum/8
欢迎加入CSDN Rust 学习交流微信群,内有大牛精彩分享,你可以随时提问,会有一个很好的探讨分为。请加群主微信 qshuguang2008 或扫描下方二维码被邀请进群,备注:实名+公司名+Rust。