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.
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.
Crate of the 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.
cargo add: Infer crate name from path/git repo.
cargo add: Target specifications.
cargo list: More tests.
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.
- 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.
- Andrew Cantino
- Andrey Cherkashin
- Craig M. Brandenburg
- Tang Chenglong
- Tim Montague
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
- 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
- Unix socket support in the standard library.
- Implement a method,
RangeTo, checking if a number is in the range..
- Add a
Stringwhich removes a range of elements, and replaces it in place with a given sequence of values.
- Saturating and checking integer wrapper types.
- Stabilize the
-C overflow-checkscommand line argument.
- Revise type ascription operator to use type equality, not coercion.
- Add more integer atomic types.
- 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
fn work(on: RustProject) -> Money
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.