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
- [discussion] What, in your opinion is the worst thing about Rust?.
- The epic story of Dropbox’s exodus from the amazon cloud empire (feat. Rust).
- Servo is going to have an alpha release in June: Servo + browser.html.
- Learn you a Rust II - references and borrowing.
- Mozilla looks towards the IoT for Rust.
- Working with C unions in Rust FFI.
- [pdf] Fuzzing the Rust typechecker using CLP.
- This week in Servo 55.
Notable New Crates & Project Updates
- Gtk-rs released 0.0.7 with major changes.
- RustType 0.2 - Now with dynamic GPU font caching.
- libs.rs. A catalogue of Rust community's awesomeness.
- dryad.so.1 - an experimental x86-64 ELF dynamic linker, written entirely in Rust (and some asm)
- Termion (previously called libterm) now supports 256 colour mode, asynchronous key events, special key events, and password input.
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] Rust: OsString could implement the Default trait.
- [easy] Rust: Backtrace contains function names with MIR, but not on MSVC.
- [less easy] Servo: Write a tool that reports unnecessary crate dependencies.
- [easy] Servo/Saltfs: Trim down the symlinks to ARM cross-compilation binaries.
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
103 pull requests were merged in the last week.
- RFC 1210 impl specialization has landed! Yay!
- MIR is now able to bootstrap itself...into orbit!
- typestrong const integers (breaking change)
- Fast floating point algebra
- #derive now uses intrinsics::unreachable
- *Map-Entries now have a
- Rustc platform intrinsics went on a slimming diet
rustc --test -q: Shorter test output
- LLVM assertions disabled on ARM to workaround codegen bug
- Another LLVM update
- Fix an ICE in region inference
- No *into_ascii methods after all (destabilized and removed because of inference regression)
- Warn, not err on inherent overlaps (for now, this will become an error in later versions)
- coercions don't kill rustc anymore
- const_eval now correctly handles right shifts
- Fix overflow when subtracting Instant
- Daniel J Rollins
- Stu Black
- Todd Lucas
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
- RFC 1479: Unix socket support in the standard library.
- RFC 1498: Add octet-oriented interface to
- RFC 1434: Implement a method,
RangeTo, checking if a number is in the range..
- RFC 1432: Add a
Stringwhich removes a range of elements, and replaces it in place with a given sequence of values.
Final Comment Period
- Unsafe expressions.
- Prevent unstable items from causing name resolution conflicts with downstream code.
- 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".
- Allow fields in traits that map to lvalues in
global_asm!for module-level inline assembly.
- 3/22. Bay Area Rust: Rust, Data, and Science.
- 3/23. OpenTechSchool Berlin: Rust Hack and Learn.
- 3/31. Tokyo Rust Meetup #4.
- 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
<phaazon> ok <phaazon> and what trait is from from? <jix> From :D <phaazon> ok :D <phaazon> so from is from From <phaazon> nice!
Thanks to Thomas Winwood for the suggestion.