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
- Why is a Rust executable large?
&
vs.ref
in Rust patterns.- How do I use the Standard Library Macros in Rust? Part 1.
- Things you could do with the Rust AST.
- Beyond memory safety with types.
- Interfacing Rust with the JVM.
- Tween: a middleware library experiment.
- [podcast] New Rustacean: News episode 01. A year in, Rust is changing fast but still stable.
- [video] Ferris makes emulators: Episode 11 - Debugger part 2. Live stream of Ferris developing a N64 emulator in Rust (also on Twitch).
New Crates & Project Updates
- GDB now supports debugging programs written in Rust.
- Redox OS will from now on comply with the GNU Free System Distribution Guidelines.
- dikaiosune released a new project metrics dashboard.
- Tickets are now available for Rust Belt Rust Conference (27 & 28 October 2016, Pittsburgh, US).
- This week in Servo 65.
- This week in Rust docs 6.
- This week in intermezzOS 2.
- This week in Parity 3.
- imag. Text based personal information management suite.
Crate of the Week
This week's Crate of the Week is pbr, which gives us a simple way to set up a progress bar for our applications. Thanks to Lukas Kalbertodt 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] rust: Participate in 2016 State of Rust Survey.
- [easy] rust: Add error explanations for all error codes.
- [easy] Speed up crypto in Rust by contributing to and using crypto-bench.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
84 pull requests were merged in the last two weeks.
- Avoid double-locking
RWLock
/Mutex
- Deny unsound projections and speeding up the compiler
- Rust aborts processes on Windows with __fastfail (instead of invalid instruction, this is a potentially breaking change)
- New AST validation pass to ensure macro expansions obey language rules
- MIR Non-zeroing Drop A journey of three years find a happy conclusion
- MIR Don't generate 3-armed boolean switches
- Support 16-bit pointers for embedded (or oldschool?) systems
def_map
no longerRefCell
d in TyCtxt and driver::Resolutions- Btree{Set,Map}::split_off (RFC #509)
- HIR Split Bindings and Paths
- Span of derived attributes fixed
- MIR range overflow checks
- byte slice compare checks for pointer equality (performance improvement)
New Contributors
- cheercroaker
- Ivan Shapovalov
- Jamey Sharp
- M Farkas-Dyck
- Scott A Carr
- Zack M. Davis
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. This week's FCPs are:
- Implement new methods for checked and wrapping casts for potentially lossy integer conversions.
- Change thread local variables to only accept async-signal-safe types.
- Add a initial, minimal form of
impl Trait
. - Normalization for long error codes explanations.
- Standardise stream wrappers like compression, encryption.
- Add a
lifetime
specifier tomacro_rules!
. - Remove the one-type-only restriction on
format_args!
arguments.
New RFCs
- Require documentation for all new features.
- Automatically implement some traits for
!
. - Add two new pointer-sized integer types;
uptr
andiptr
. - Add
checked_sub()
already known from various primitive types to theDuration
struct. - Add PTX and AMDGPU targets.
Upcoming Events
- 6/8. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- 6/8. Rust Berlin Meetup.
- 6/8. Rust Boulder/Denver Monthly Meeting.
- 6/9. Columbus Rust Society.
- 6/13. Seattle Rust Meetup.
- 6/14. Eat – Drink – Rust! Downtown Rust Meetup (San Diego)
- 6/15. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- 6/15. Rust Los Angeles Monthly Meetup - Hack Night.
- 6/17. Rhein-Main Rust Regulars' Table.
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
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.