diff options
author | Vikrant Chaudhary <nasa42@gmail.com> | 2019-04-03 15:13:31 +0530 |
---|---|---|
committer | Vikrant Chaudhary <nasa42@gmail.com> | 2019-04-03 15:13:31 +0530 |
commit | 31c73917e9dfbc43bfe96200b1e5e49886469351 (patch) | |
tree | da9a281d0e51b8694e065640f225ba28ff3d6b6d /content | |
parent | bde6c61a2d4038990d700bf5e922c7c0a3054088 (diff) |
release 280
Diffstat (limited to 'content')
-rw-r--r-- | content/2019-04-02-this-week-in-rust.md | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/content/2019-04-02-this-week-in-rust.md b/content/2019-04-02-this-week-in-rust.md new file mode 100644 index 0000000..8fecf04 --- /dev/null +++ b/content/2019-04-02-this-week-in-rust.md @@ -0,0 +1,157 @@ +Title: This Week in Rust 280 +Number: 280 +Date: 2019-04-02 +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 + +* [Five super helpful Rust things that nobody told you about](https://saghm.github.io/five-rust-things/). +* [RaptorQ (RFC6330) and performance optimization in Rust](https://www.cberner.com/2019/03/30/raptorq-rfc6330-rust-optimization/). +* [Idiomatic monads in Rust](https://varkor.github.io/blog/2019/03/28/idiomatic-monads-in-rust.html). +* [BoringTun, a userspace WireGuard implementation in Rust](https://blog.cloudflare.com/boringtun-userspace-wireguard-rust/). +* [Understanding futures in Rust - part 1](https://www.viget.com/articles/understanding-futures-in-rust-part-1/). +* [Mocking in Rust with conditional compilation](https://klausi.github.io/rustnish/2019/03/31/mocking-in-rust-with-conditional-compilation.html). +* [Face detection with Tensorflow Rust](https://cetra3.github.io/blog/face-detection-with-tensorflow-rust/). +* [DSL in Rust: Challenges](https://blog.yoshuawuyts.com/2019-03-03-dsls-2/). +* [Explained: How does async work in Rust](https://dev.to/gruberb/explained-how-does-async-work-in-rust-46f8)? +* [This week in Rust and WebAssembly 15](https://rustwasm.github.io/2019/03/28/this-week-in-rust-and-wasm-015.html). + +# Crate of the Week + +This week's crate is [sonic](https://github.com/valeriansaliou/sonic), a fast, lightweight & schema-less search backend. Thanks to [Vikrant](https://users.rust-lang.org/t/crate-of-the-week/2704/509) 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. + +* [rust: Add rustc-guide to toolstate](https://github.com/rust-lang/rust/issues/59597). + +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 + +251 pull requests were [merged in the last week][merged] + +[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-03-25..2019-04-01 + +* [Add intial support for `wasm32-unknown-wasi`](https://github.com/rust-lang/libc/pull/1307) +* [Allow closure to unsafe fn coercion](https://github.com/rust-lang/rust/pull/59580) +* [Include bounds in generic re-ordering diagnostic](https://github.com/rust-lang/rust/pull/59572) +* [Optimize indentation in the pretty printer](https://github.com/rust-lang/rust/pull/59507) +* [Use `SmallVec` in `TokenStreamBuilder`](https://github.com/rust-lang/rust/pull/59476) +* [Make ASCII case conversions more than 4× faster](https://github.com/rust-lang/rust/pull/59283) +* [Adjust `MaybeUninit` API to discussions](https://github.com/rust-lang/rust/pull/59284) +* [Introduce `proc_macro::Span::source_text`](https://github.com/rust-lang/rust/pull/55780) +* [Add `Default` to `std::alloc::System`](https://github.com/rust-lang/rust/pull/59451) +* [Add `FromStr` impl for `NonZero` types](https://github.com/rust-lang/rust/pull/58717) +* [Implement `AsRawFd` for stdio locks](https://github.com/rust-lang/rust/pull/59512) +* [Simplify `checked_duration_since`](https://github.com/rust-lang/rust/pull/59374) +* [Stabilize `refcell_replace_swap`](https://github.com/rust-lang/rust/pull/59581) +* [stabilize `ptr::hash`](https://github.com/rust-lang/rust/pull/59603) +* [Stabilize {`f32`, `f64`}`::copysign()`](https://github.com/rust-lang/rust/pull/59503) +* [cargo metadata: Don't show `null` deps](https://github.com/rust-lang/cargo/pull/6534) +* [cargo install: Be more restrictive about cli flags](https://github.com/rust-lang/cargo/pull/6801) +* [rustdoc: Fix infinite recursion](https://github.com/rust-lang/rust/pull/59539) +* [rustdoc: collapse blanket impls in the same way as normal impls](https://github.com/rust-lang/rust/pull/59534) + +## 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 2657: Roadmap for 2019](https://github.com/rust-lang/rfcs/pull/2657). + +## 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: postpone] [Destructuring assignment](https://github.com/rust-lang/rfcs/pull/2649). + +### [Tracking Issues & PRs](https://github.com/rust-lang/rust/labels/final-comment-period) + +* [disposition: merge] [More restrictive 2 phase borrows - take 2](https://github.com/rust-lang/rust/pull/58739). +* [disposition: merge] [Tracking issue: const fn std::mem::needs_drop](https://github.com/rust-lang/rust/issues/51929). + +## New RFCs + +*No new RFCs were proposed this week.* + +# Upcoming Events + +### Asia Pacific + +* [Apr 20. Beijing, CN - RustCon Asia](https://rustcon.asia/). + +### Europe + +* [Apr 4. Zagreb, HR - Rust Meetup 201904: Persistent data in Rust](https://www.meetup.com/Zagreb-Rust-Meetup/events/259597646/). +* [Apr 4. Wroclaw, PL - Rust Wroclaw Meetup](https://www.meetup.com/Rust-Wroclaw/events/259511136/). +* [Apr 4. Madrid, ES - Madrid Rust Meetup](https://www.meetup.com/MadRust/events/259988070/). +* [Apr 13. Kyiv, UA - PeerLab Kyiv #NativeDev: Rust 1.34 Release in Depth](https://www.meetup.com/PeerLab-Native-Developers/events/260050471/). +* [Apr 17. Berlin, DE - Berlin Rust Hack and Learn](https://www.meetup.com/opentechschool-berlin/events/gkkttqyzgbwb/). +* [Apr 18. Turin, IT - Mozilla Torino - Gruppo di studio Rust](https://www.meetup.com/Mozilla-Torino/events/ktqcpqyzgbhc/). + +### North America + +* [Apr 9. Seattle, US - Seattle Rust Meetup - Monthly meetup](https://www.meetup.com/Seattle-Rust-Meetup/events/nzfspqyzgbmb/). +* [Apr 9. Irvine, US - Orange County Rust - C2Rust - Rewrite all the things](https://www.meetup.com/oc-rust/events/260233390/). +* [Apr 11. Arlington, US - Rust DC — Mid-month Rustful](https://www.meetup.com/RustDC/events/259782531). +* [Apr 11. Columbus, US - Columbus Rust Society - Monthly Meeting](https://www.meetup.com/columbus-rs/events/dbcfrpyzgbpb/). +* [Apr 18. Denver, US - Rust Boulder/Denver - Rust Meetup for April](https://www.meetup.com/Rust-Boulder-Denver/events/259124388/). +* [Apr 17. Vancouver, CA - Vancouver Rust meetup](https://www.meetup.com/Vancouver-Rust/events/gqbksqyzgbwb/). + +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 + +* [Rust Developer at Smarkets, London, UK](https://smarkets.com/job/1617761/). +* [Database Engine Developer at Parity, Berlin, DE](https://www.parity.io/jobs/#berlin-database-engine-developer). +* [Lead Engineer (Cryptography) at Cosmian, Paris, FR](https://cosmian.com/wp-content/uploads/2019/03/Rust-CPP-lead-engineer.pdf). + +*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!* + +# Quote of the Week + +> Thanks for walking through the process. +> +> Quite the mental exercise, some people do Sudoku, others solve borrow puzzles! + +– [Gambhiro on rust-users](https://users.rust-lang.org/t/solved-channel-in-a-loop-in-a-thread-borrowed-value-does-not-live-long-enough/26733/9) + +Thanks to [Tom Phinney](https://users.rust-lang.org/t/twir-quote-of-the-week/328/633) for the suggestion! + +[Please submit your quotes for next week](http://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> |