Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing the trifecta: safety, concurrency, and speed. This is a weekly summary of its progress and community. Want something mentioned? Tweet us at @ThisWeekInRust or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub. If you find any errors in this week's issue, please submit a PR.
Updates from Rust Community
Blog Posts
- Fixing Python performance with Rust.
- Hello Teensy. Building a wall-clock with Rust and Teensy microcontroller.
- Saved by the compiler: Parallelizing a loop with Rust and rayon. Eric Kidd shares his story of how Rust compiler just saved him from a nasty threading bug.
- Semi-hosting on ARM with Rust.
- Rewriting tinyhttpd in Rust, Part One. Tiny HTTPd is a web-server written in C.
- Rust tips and tricks.
- Notes on building a medium-sized library in rust.
- Complete me! Generating Bash/ZSH completion scripts in Clap.
- Supporting blanket impls in specialization.
- How to test a DOM API for Servo.
News & Project Updates
- Announcing Rust 1.12.1.
- Introducing Rust Language Server, source release. RLS provides a service that runs in the background, providing IDEs, editors, and other tools with information about Rust programs.
- Facebook is writing a Mercurial server in Rust.
- Announcing Cage: Develop and deploy complex Docker applications.
- imag v0.2.0 released.
Other Weeklies from Rust Community
- This summer in Redox. Redox is an operating-system written in Rust.
- These weeks In Servo 81. Servo is a prototype web browser engine written in Rust.
- This week in Rust Docs 27. Updates from the Rust documentation team.
- This week in Tock Embedded OS #7. Tock is a safe, multitasking operating system for low-power, low-memory microcontrollers.
- This week in Ruru 3. Ruru lets you write native Ruby extensions in Rust.
- This week in TiKV 2016-10-23. TiKV is a distributed Key-Value database.
- What's coming up in imag 18. imag is a text based personal information management suite.
New Crates
- EdgeDNS. A high performance DNS cache designed for Content Delivery Networks, with built-in security mechanisms to protect origins, clients and itself.
- Pinky. An NES emulator written in Rust.
- combine. A parser combinator library for Rust.
- TensorFlow Rust. Rust language bindings for TensorFlow.
Crate of the Week
No crate was selected for CotW.
Submit your suggestions and votes for next week!
Call for Participation
Always wanted to contribute to open-source projects but didn't know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!
Some of these tasks may also have mentors available, visit the task page for more information.
- [easy] rust: Unused import warning should have identifier in first line.
- [easy] rust: Provide a better error message when the target sysroot is not installed.
- [hard] rust: Optimize emscripten targets with emcc.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
126 pull requests were merged in the last week.
- macros 1.1: future proofing and cleanup.
- Enable line number debuginfo in releases.
- Cargo: Use
CommandExt::exec
forcargo run
on Unix. - libc: Add setresuid/setresgid for linux.
- Implement
From<Cow<str>> for String
andFrom<Cow<[T]>> for Vec<T>
. - libc: Add support for Fuchsia.
- Use a faster
deflate
setting. - libc: Add UNIX 98 pty functions.
- LLVM: Add triple for Fuchsia.
- macros: Future proof
#[no_link]
. - ICH: Use 128-bit Blake2b hash instead of 64-bit SipHash for incr. comp. fingerprints.
- Expand
.zip()
specialization to.map()
and.cloned()
. - Mark enums with non-zero discriminant as non-zero.
- impl
Debug
forReadDir
. - macros: improve
$crate
. - include LLVM version in
--version --verbose
. - Lint against lowercase static mut.
#[may_dangle]
attribute.- Optimize
Substs::super_fold_with
. - Inline
read_{un,}signed_leb128
andopaque::Decoder
functions.
New Contributors
- Duncan
- loggerhead
- Ryan Senior
- Vangelis Katsikaros
- Артём Павлов [Artyom Pavlov]
Approved RFCs
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
- RFC 1721: Enable customizing the linkage of a platform's C runtime.
- RFC 1717: Use
#[link(kind)]
to fix imports from native libs on Windows. - RFC 1682: Propose a shorthand syntax for constructing struct-like values with named fields.
- RFC 1624: Let a
loop { ... }
expression return a value viabreak my_value;
.
Final Comment Period
Every week the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now. This week's FCPs are:
- A process for establishing the Rust roadmap.
- Windows subsystem support.
- Add Cortex-M targets to the compiler + binary releases of
core
.
New RFCs
Style RFCs
Style RFCs are part of the process for deciding on style guidelines for the Rust community and defaults for Rustfmt. The process is similar to the RFC process, but we try to reach rough consensus on issues (including a final comment period) before progressing to PRs. Just like the RFC process, all users are welcome to comment and submit RFCs. If you want to help decide what Rust code should look like, come get involved!
PRs:
Issue 17 (comments) is ready for a PR, we'd love someone to help out with that, if you're interested ping someone in #rust-style.
No FCP issues this week.
New P-high issues:
Upcoming Events
- 10/26. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- 10/26. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- 10/27. Rust Belt Rust Conference - Pittsburgh.
- 10/31. Rust Paris.
- 11/2. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- 11/2. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- 11/3. Rust release triage.
- 11/5. Servo / Rust Hackathon.
If you are running a Rust event please add it to the calendar to get it mentioned here. Email the Rust Community Team for access.
fn work(on: RustProject) -> Money
No jobs listed for this week.
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
No quote was selected for QotW.