diff options
author | Vikrant Chaudhary <nasa42@gmail.com> | 2019-05-01 18:22:53 +0530 |
---|---|---|
committer | Vikrant Chaudhary <nasa42@gmail.com> | 2019-05-01 18:22:53 +0530 |
commit | 50f6fb9df9393eb1ee2095e059660b08f0159166 (patch) | |
tree | 1babf3a09dd2efbace312900d0bf872395fd8b2f /content | |
parent | 10cb4f15a826942dc1c0865aaf64a84fc8d7b341 (diff) |
release 284
Diffstat (limited to 'content')
-rw-r--r-- | content/2019-04-30-this-week-in-rust.md | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/content/2019-04-30-this-week-in-rust.md b/content/2019-04-30-this-week-in-rust.md new file mode 100644 index 0000000..533aeb2 --- /dev/null +++ b/content/2019-04-30-this-week-in-rust.md @@ -0,0 +1,163 @@ +Title: This Week in Rust 284 +Number: 284 +Date: 2019-04-30 +Category: This Week in Rust + +Hello and welcome to another issue of *This Week in Rust*! +[Rust](http://rust-lang.org) 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](https://twitter.com/ThisWeekInRust) or [send us a pull request](https://github.com/cmr/this-week-in-rust). +Want to get involved? [We love contributions](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md). + +*This Week in Rust* is openly developed [on GitHub](https://github.com/cmr/this-week-in-rust). +If you find any errors in this week's issue, [please submit a PR](https://github.com/cmr/this-week-in-rust/pulls). + +# Updates from Rust Community + +## News & Blog Posts + +* 🎈🎉 [Announcing Rust 1.34.1](https://blog.rust-lang.org/2019/04/25/Rust-1.34.1.html). 🎉🎈 +* [Await syntax discussion summary](https://internals.rust-lang.org/t/await-syntax-discussion-summary/9914). +* [A (type-based) Rust cheatsheet](https://upsuper.github.io/rust-cheatsheet/). +* [Writing an OS in Rust: Testing](https://os.phil-opp.com/testing/). +* [How Rust solved dependency hell](https://stephencoakley.com/2019/04/24/how-rust-solved-dependency-hell). +* [Creating crossplatform Rust terminal apps](http://www.jonathanturner.org/2019/04/porting-the-pikachu.html). +* [10 key learnings in Rust after 30,000 lines of code](https://medium.com/@jondot/my-key-learnings-after-30-000-loc-in-rust-a553e6403c19). +* [UWP port is in progress](https://www.reddit.com/r/rust/comments/bhffwn/uwp_port_is_in_progress/). +* [Mozilla IRC sunset and the Rust channel](https://blog.rust-lang.org/2019/04/26/Mozilla-IRC-Sunset-and-the-Rust-Channel.html). +* [Giving up on wlroots-rs](http://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-in-c.html). +* [Making Sandspiel (a falling sand game in Rust and Wasm)](https://maxbittker.com/making-sandspiel). +* [Implementing tile encoding in rav1e](https://blog.rom1v.com/2019/04/implementing-tile-encoding-in-rav1e/). + +# Crate of the Week + +This week's crate is [cast-rs](https://github.com/japaric/cast), a crate with ergonomic, checked cast functions for primitive types. Thanks to [mark-i-m](https://users.rust-lang.org/t/crate-of-the-week/2704/525) for the suggestion! + +[Submit your suggestions and votes for next week][submit_crate]! + +[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704 + +# 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. + +*No issues were proposed for CfP*. + +If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines]. + +[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821 + +# Updates from Rust Core + +229 pull requests were [merged in the last week][merged] + +[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-04-22..2019-04-29 + +* [Stabilize futures_api](https://github.com/rust-lang/rust/pull/59739). +* [Replace HashMap implementation with SwissTable (as an external crate)](https://github.com/rust-lang/rust/pull/58623) +* [Introduce `hir::ExprKind::Use` and employ in for loop desugaring](https://github.com/rust-lang/rust/pull/60225) +* [Future-proof MIR for dedicated debuginfo](https://github.com/rust-lang/rust/pull/56278) +* [Add `f16c` target_feature](https://github.com/rust-lang/rust/pull/60191) +* [Fix `sync_all` on macos/ios](https://github.com/rust-lang/rust/pull/60121) +* [Implement `saturating_abs()` and `saturating_neg()` functions for signed integer types](https://github.com/rust-lang/rust/pull/60192) +* [Stabilize `Iterator::copied`](https://github.com/rust-lang/rust/pull/60333) +* [Stabilize `pointer::align_offset`](https://github.com/rust-lang/rust/pull/60303) +* [Const-stabilize `std::mem::needs_drop`](https://github.com/rust-lang/rust/pull/60364) +* [cargo: Support relative paths for registries](https://github.com/rust-lang/cargo/pull/6873) +* [Set `cfg(test)` when rustdoc is running with `--test` option](https://github.com/rust-lang/rust/pull/59940) + +## Approved RFCs + +Changes to Rust follow the Rust [RFC (request for comments) +process](https://github.com/rust-lang/rfcs#rust-rfcs). These +are the RFCs that were approved for implementation this week: + +* [RFC 2645: Transparent Unions and Enums](https://github.com/rust-lang/rfcs/pull/2645). +* [RFC 2565: Attributes in formal function parameter position](https://github.com/rust-lang/rfcs/pull/2565). + +## Final Comment Period + +Every week [the team](https://www.rust-lang.org/team.html) announces the +'final comment period' for RFCs and key PRs which are reaching a +decision. Express your opinions now. + +### [RFCs](https://github.com/rust-lang/rfcs/labels/final-comment-period) + +* [disposition: merge] [Allow arbitrary enums to have explicit discriminants](https://github.com/rust-lang/rfcs/pull/2363). +* [disposition: merge] [Symbol Mangling v2](https://github.com/rust-lang/rfcs/pull/2603). +* [disposition: merge] [Introduce "compiler-team contributors"](https://github.com/rust-lang/rfcs/pull/2689). +* [disposition: postpone] [Changing the overflow behavior for usize in release builds to panic](https://github.com/rust-lang/rfcs/pull/2635). + +### [Tracking Issues & PRs](https://github.com/rust-lang/rust/labels/final-comment-period) + +* [disposition: merge] [[Stabilization] Future APIs](https://github.com/rust-lang/rust/issues/59725). +* [disposition: merge] [Stabilize the core::array module and reexport in std (for TryFromSliceError)](https://github.com/rust-lang/rust/issues/60014). +* [disposition: merge] [Tracking issue for DoubleEndedIterator::nth_back](https://github.com/rust-lang/rust/issues/56995). +* [disposition: merge] [Experimentally add `ffi_const` and `ffi_pure` extern fn attributes](https://github.com/rust-lang/rust/pull/58327). +* [disposition: merge] [Implement `iter::Sum` and `iter::Product` for `Option`](https://github.com/rust-lang/rust/pull/58975). +* [disposition: merge] [std: Derive `Default` for `io::Cursor`](https://github.com/rust-lang/rust/pull/60234). + +## New RFCs + +* [Add Unicode Annex 31 methods to `char`](https://github.com/rust-lang/rfcs/pull/2693). + +# Upcoming Events + +### Africa + +* [May 2. Johannesburg, ZA - Johannesburg meetup - Everybody Borrows](https://www.meetup.com/Johannesburg-Rust-Meetup/events/gpxrtqyzhbcb/). + +### Asia Pacific + +* [May 6. Auckland, NZ - Rust AKL - Rust Debugging Techniques + Lightening Talks](https://www.meetup.com/rust-akl/events/259480601/). +* [May 8. Kuala Lumpur, MY - Rust Meetup May 2019](https://docs.google.com/forms/d/e/1FAIpQLScUHpCLPMF8I1QxA_WnIz9bipalrNsUckSyLMysGGNB5y0Lyw/viewform). + +### Europe + +* [May 2. Munich, DE - Rust Munich - Rust libp2p](https://www.meetup.com/rust-munich/events/259984522/). +* [May 2. Zagreb, HR - Rust Meetup 201905: WebAssembly <3 Rust](https://www.meetup.com/Zagreb-Rust-Meetup/events/260942646/). +* [May 6. Budapest, HU - Rust Hungary Meetup](https://www.meetup.com/Rust-Hungary-Meetup/events/260651034/). +* [May 9. Wrocław, PL - Rust Wroclaw Meetup #10](https://www.meetup.com/Rust-Wroclaw/events/260858425/). +* [May 9. Berlin, DE - Rust+GNOME 2019 Hackfest#5](https://wiki.gnome.org/Hackfests/Rust2019). +* [May 15. Berlin, DE - Berlin Rust Hack and Learn](https://www.meetup.com/opentechschool-berlin/events/gkkttqyzhbtb/). +* [May 15. Helsinki, FI - Rust meetup May](https://www.meetup.com/Finland-Rust-Meetup/events/260939025/). + +### North America + +* [May 8. Mesa, US - Desert Rust: Rust Study Group (booze.rs)](https://www.meetup.com/Desert-Rustaceans/events/xbfdtqyzhblb/). +* [May 9. San Diego, US - San Diego Rust May Meetup](https://www.meetup.com/San-Diego-Rust/events/260763786/). +* [May 9. Arlington, US - Rust DC — Mid-month Rustful](https://www.meetup.com/RustDC/events/260559957). +* [May 9. Columbus, US - Columbus Rust Society - Monthly Meeting](https://www.meetup.com/columbus-rs/events/dbcfrpyzhbmb/). +* [May 14. Seattle, US - Monthly meetup](https://www.meetup.com/Seattle-Rust-Meetup/events/nzfspqyzhbsb/). +* [May 15. Vancouver, CA - Vancouver Rust meetup](https://www.meetup.com/Vancouver-Rust/events/fzqqwqyzhbtb/). + +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][community] for access. + +[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com +[community]: mailto:community-team@rust-lang.org + +# Rust Jobs + +* [Mozilla is hiring for the Rust Team](https://internals.rust-lang.org/t/mozilla-is-hiring-for-the-rust-team-2019/9949). +* [Developer Advocate at Parity, Berlin, DE or remote](https://www.parity.io/jobs/#berlin-developer-advocate). + +*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!* + +# Quote of the Week + +> Clippy’s Favorite Activity Is Criticizing Clippy’s Codebase + +[ReductRs on twitter](https://mobile.twitter.com/reduct_rs/status/1121439213772333058)! + +Llogiq is pretty self-congratulatory for picking this awesome quote. + +[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328) + +*This Week in Rust is edited by: [nasa42](https://github.com/nasa42), [llogiq](https://github.com/llogiq), and [Flavsditz](https://github.com/Flavsditz).* + +<small>[Discuss on r/rust]().</small> |