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
News & Blog Posts
- A verified email address will be required to publish to crates.io starting on 2019-02-28.
- Rust and game development.
- Build your own shell using Rust.
- Stacked borrows implemented: An aliasing model for Rust.
- Bringing Elm's architecture to Rust and Webassembly.
- Programming Servo: a background-hang-monitor.
- Compile time feature flags in Rust.
- Program synthesis is possible in Rust.
- This year in embedded Rust.
Crate of the Week
This week's crate is cargo-sweep, a cargo subcommand to clean cargo's various temporaries. Thanks to Viktor Holmgren for the suggestion!
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.
- Mundane: Test that symbol version names are correct.
- Mundane: Linker bug compiling on Linux.
- Mundane: Pin to a particular version of BoringSSL.
- gcode: WebAssembly showcase website.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
124 pull requests were merged in the last week
- remove "approx env bounds" if we already know from trait
- resolve: implement uniform paths 2.0
- chalk lowering rule: ProjectionEq-Normalize
- miri backtrace improvements
- fix emission of niche-filling discriminant values
- avoid shared ref in UnsafeCell::get
- CTFE: dynamically make sure we do not call non-const-fn
- reattach all grandchildren when constructing specialization graph
- ty: return impl Iterator from Predicate::walk_tys
- a handful of hir tweaks
- make miri value visitor useful for mutation
- miri enum discriminant handling: Fix treatment of pointers, better error when it is undef
- more precise spans for temps and their drops
- reference count
crate_inherent_impls
s return value - unix RwLock: avoid racy access to write_locked
- forward the ABI of the non-zero sized fields of an union if they have the same ABI
- a few tweaks to iterations/collecting
- move
static_assert!
into librustc_data_structures - wrap some query results in
Lrc
- avoid converting bytes to UTF-8 strings to print, just pass bytes to stdout/err
- impl_stable_hash_for: support enums and tuple structs with generic parameters
- std: Synchronize access to global env during
exec
- add mem::forget_unsized() for forgetting unsized values
- core/char: speed up
to_digit()
forradix <= 10
- add
VecDeque::resize_with
- add
FromIterator<A>
toBox<[A]>
- speed up
String::from_utf16
- cargo: add
c
alias forcheck
- cargo: distinguish custom build invocations
- cargo: allow crate_type=bin examples to run
- rustdoc: properly calculate spans for intra-doc link resolution errors
Approved RFCs
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
No RFCs were approved this week.
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.
RFCs
- [disposition: merge] Stabilise exhaustive integer pattern matching.
- [disposition: merge] Needle API (née Pattern API).
- [disposition: close] Add RFC for officially adopting Ferris.
Tracking Issues & PRs
- [disposition: merge] [Stabilization] Pin APIs.
- [disposition: merge] Refiling "#[repr(simd)] struct(isize, isize) not allowed".
- [disposition: merge] Tracking Issue: Duration::{as_nanos, as_micros, as_millis}.
- [disposition: merge] Tracking issue for
?
macro repetition. - [disposition: merge] [Stabilization] Stablize using some arbitrary self types defined in std.
- [disposition: merge] [beta] resolve: Implement edition hygiene for imports and absolute paths.
Upcoming Events
Online
- Nov 28. Rust Community Team Meeting in Discord.
- Dec 3. Rust Community Content Subteam Meeting in Discord.
- Dec 5. Rust Events Team Meeting in Telegram.
Africa
Asia
Europe
- Nov 24. St. Petersburg, RU - Rust Meetup.
- Nov 24 & 25. Rome, IT - RustFest Rome 2018.
- Nov 27. Sofia, BG - Rust Bulgaria @ Global Tech Summit.
- Nov 27. Vienna, AT - Rust - November Meetup.
- Nov 28. Berlin, DE - Berlin Rust Hack and Learn.
- Nov 29. Copenhagen, DK - Copenhagen Rust Group - Hack Night #11.
- Dec 3. Karlsruhe, DE - Rust 2018 Edition.
- Dec 15 & 16. Moscow, RU - RustRush 2018.
North America
- Nov 25. Mountain View, US - Rust Dev in Mountain View.
- Nov 26. Durham, US - Triangle Rustaceans - Project Night & Lightning Talks.
- Nov 27. Dallas, US - Dallas Rust - Last Tuesday.
- Nov 27. Chicago, US - Chicago Rust Meetup - So You Want To Write A Protocol Client In Rust.
- Nov 28. Vancouver, CA - Vancouver Rust meetup.
- Nov 28. Ann Arbor, US - Ann Arbor Rust Meetup.
- Dec 2. Mountain View, US - Rust Dev in Mountain View!.
- Dec 5. Atlanta, US - Rust Atlanta Meetup.
- Dec 5. Indianopolis, US - Indy.rs.
- Dec 6. Phoenix, US - Phoenix 2018 Edition Release Party.
South America
If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.
Rust Jobs
- Software Engineer for Qwant Maps, Paris, FR.
- Embedded operating system developer, Karlsruhe, DE.
- Student research assistant (embedded), Karlsruhe, DE.
- Rust Developer at Parity, Berlin, DE.
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
It’s like building stuff with LEGO. Sure, it could be a single type, but then you’d need a type for every possible combination of types, which would arguably be a whole lot worse.
– Daniel Keep on rust-users
Thanks to llogiq for the suggestion!
Please submit your quotes for next week!
This Week in Rust is edited by: nasa42, llogiq, and Flavsditz.