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
- [video] Chrome vs Firefox vs Safari vs Servo WebRender.
- Machine learning in Rust.
- Rust testing with Stainless. Stainless is a lightweight, flexible, unopinionated testing framework.
- This week in Servo 54. Servo is a web browser engine written in Rust.
- This week in Redox 12. Redox is an operating-system written in Rust.
- These weeks in Amethyst 7. Amethyst is a data-oriented game engine written in Rust.
Notable New Crates & Project Updates
- Library stabilizations for the 1.9 release.
- Multirust 0.8 now enables installation of additional standard libraries for cross compilation.
- regex crate can match regular expressions on arbitrary bytes.
- Pencil. A web application microframework for Rust.
- preferences. Read and write user-specific application data in Rust.
- Proteus. Axolotl crypto protocol implementation in Rust.
- libterm. A pure Rust library for handling, manipulating and reading information about terminals. This provides a full-featured alternative to Termbox.
- dryad. An almost-parallel, semi-functioning, dynamic linker experiment, written in Rust.
Summer of Code Projects
Hi students! Looking for an awesome summer project in Rust? Look no further! Chris Holcombe from Canonical is an experienced Google Summer of Code mentor and has a project to implement CephX protocol decoding. Check it out here.
Servo is also accepting GSoC project submissions under the Mozilla banner. See if any of the project ideas appeal to you and read the advice for applications.
Servo also has a project in Rails Girls Summer of Code. nom is also participating.
Crate of the Week
This week's Crate of the Week is LALRPOP, a LR(1) parser generator that compiles to Rust code. Thanks to ogeon 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] Servo: Reduce duplication of the "android-18" property in the Android build.
- [Less easy] Servo: Add support for :target pseudo-selector.
- [Hard]
cargo add
: Infer crate name from path/git repo. - [Easy]
cargo add
: Target specifications. - [Easy]
cargo list
: More tests. - [Easy/Mentored]
multipart
: create sample projects
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
142 pull requests were merged in the last week.
Notable changes
- implement RFC 1192 inclusive ranges.
- SIMD intrinsics for fused multiply-add.
- AVX broadcast/conversion intrinsics.
- New i586-pc-windows-msvc target.
- Huge-String-Slice-Overflow-DoS averted.
- Forbid having overlapping fns in inherent impls for same type.
- Add Pass manager for MIR.
- fn item types are properly unique and have size zero.
- Add impl of FnOnce to AssertRecoverSafe.
- Fix name resolution in lexical scopes.
- import resolution fixed.
- optimize some std::process functions (more speed, less unsafe).
- mark associated types as live for the dead_code lint.
New Contributors
- Andrew Cantino
- Andrey Cherkashin
- Craig M. Brandenburg
- Noah
- Tang Chenglong
- Tim Montague
- vagrant
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:
- Add support for naked functions.
- Expand the current pub/non-pub categorization of items with the ability to say "make this item visible solely to a (named) module tree".
- Add octet-oriented interface to
std::net::Ipv6Addr
. - Unix socket support in the standard library.
- Implement a method,
contains()
, forRange
,RangeFrom
, andRangeTo
, checking if a number is in the range.. - Add a
replace_slice
method toVec<T>
andString
which removes a range of elements, and replaces it in place with a given sequence of values.
New RFCs
- Saturating and checking integer wrapper types.
- Stabilize the
-C overflow-checks
command line argument. - Revise type ascription operator to use type equality, not coercion.
- Add
TryFrom
andTryInto
traits. - Add more integer atomic types.
Upcoming Events
- 3/14. Seattle Rust Meetup.
- 3/16. Rust Boulder/Denver Monthly Meeting.
- 3/17. Rust London Meetup #4.
- 3/21. Rust Paris
- 3/23. OpenTechSchool Berlin: Rust Hack and Learn.
- 4/15. Frankfurt/Main Rust Lint Workshop
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
- 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
Rust is not what makes these projects awesome. These projects are what make Rust awesome.
Thanks to llogiq for the suggestion.