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 an email! 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.
This week's edition was edited by: Vikrant and llogiq.
Updates from Rust Community
News & Blog Posts
- Carol Nichols joins the Community team!
- Steve Klabnik is giving a 2 day course introducing Rust at OSCON.
- Call for Proposals for Rust Belt Rust Conference are now open.
- Deploying a Rust app to Google App Engine.
- Native JavaScript classes in Neon. Neon is a safe Rust abstraction layer for native Node.js modules.
- Rust via its Core Values. Couple of ideas about learning programming languages.
- Error handling in Rust.
- Rust borrow checker woes.
- Linear algebra in Rust.
- This week in Redox 13.
- This week in Servo 57.
- Announcing the official release of the Visual C++ Build Tools 2015. Visual C++ Build Tools are required for MSVC builds of Rust.
Notable New Crates & Project Updates
rustup
, successor tomultirust
andmultirust-rs
is now in beta.- TiKV. Distributed key-value database powered by Rust.
- Steven. Rust Minecraft client.
- semantic-rs. Automate your crate publishing routine.
- EGLI. Easy to use EGL Interface for Rust.
Crate of the Week
This week's Crate of the Week is rustful, a simple, modular REST-like HTTP framework. Thanks to Austin B for the suggestion!
Submit your suggestions 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] rustup: Add prelimenary telemetry.
- [difficult] rustup: Add Windows GUI / MSI installer.
- [easy] rexiv2: Results should likely use our own aliased Error (and Result?) type.
- [easy] rexiv2: Provide access to full XML XMP packet.
- [medium] buildengine5: Test
net::test::client_server_send
fails. - [less easy] Vulkano: Add a memory pool.
- [easy]
cargo add
: Target specifications.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
65 pull requests were merged in the last week.
Notable changes
- specialization of
str::to_string()
- weed out unneeded dependencies within rustc
- lldb breakpoints get source file names
- Parser recovery is behind debug flag until kinks worked out
- Parsing after EOF is now ICE (better than possible infinite loops)
- melt the ICE on lowering impossible range
const_eval
andcheck_match
now live in their own crate- MIR traversals, orbit bootstraps
- private fields/methods no longer interfere with selection
- RefCell/RefMut coercible to unsized
- Arc now
compare_exchange
s instead ofcompare_and_swap
(should be faster on ARM) HashMap
/HashSet
and their iterators are now covariantBTree
/HashMap::values_mut()
New Contributors
- Alan Somers
- Andreas Linz
- Christian Wesselhoeft
- Christopher Serr
- David AO Lozano
- Florian Berger
- Tobias Müller
- Valentin Lorentz
- Валерий Лашманов
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 1552: Add a contains method to
VecDeque
andLinkedList
. - Amendment to RFC 1291: Add libutil to scope of libc crate on Linux.
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:
- Add more integer atomic types.
- Stabilize implementing panics as aborts.
- Add a generic
Atomic<T>
type. - Amend RFC 550 with misc. follow set corrections.
- Provide native support for C-compatible unions, defined via a new keyword
untagged_union
. - Add a standard allocator interface and support for user-defined allocators.
- Remove some kinds of doc comments.
- Amend RFC 1228 with operator fixity and precedence.
New RFCs
.
- Amendment to RFC 1291: Add
errno()
andset_errno()
tolibc
scope. - Standardise stream wrappers like compression, encryption and etc.
- Normalization for long error codes explanations.
- Procedural macros.
- Add function overloading by using pattern matching.
- Add
#![cfg_assert]
. - Macro naming and modularisation.
- Some internal and language-level changes to name resolution.
Upcoming Events
- 4/6. OpenTechSchool Berlin: Rust Hack and Learn.
- 4/6. Germany/Cologne - Hack and Learn.
- 4/6. Rust São Paulo Meetup.
- 4/11. Seattle Rust Meetup.
- 4/13. Rust Boulder/Denver Monthly Meeting.
- 4/14. Columbus Rust Society.
- 4/15. Frankfurt/Main Rust Lint Workshop
- 4/18. Rust Paris.
If you are running a Rust event please add it to the calendar to get it mentioned here. Email Erick Tryzelaar or Brian Anderson for access.
fn work(on: RustProject) -> Money
- Senior full stack developer at OneSignal.
- PhD and postdoc positions at MPI-SWS.
- Rust developer at The Blackbird.
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
Explicitness is the fourth core value of Rust. Ironically, I don’t see that “Explicitness” is ever explicitly stated as a goal of Rust.
Thanks to nayru25 for the suggestion.