Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
CYSK: RLS
11:30
New Rustacean newrustacean.com
Where the RLS came from, what it can do, and how you can start using it today! Notes One major ergonomic improvement to developing in Rust in 2017 is coming via the Rust Language Service: an initiative that lets us share a common core of functionality between every editor – from Vim to VS Code and everything in between. In today's episode, I give some background on it and talk about how you can start using it today! Links Rust Language Service repo blog posts announcement alpha 2 release first rustup release vscode-rust Language Server Protocol repo VS Code blog post implementations Sponsors Anthony Deschamps Aleksey Pirogov Andreas Fischer Andrew Thompson Austin LeSure Ben Whitley Charlie Egan Chris Jones Chris Palmer Christopher Giffard Dan Abrams Daniel Collin Derek Morr Eugene Bulkin Jakub "Limeth" Hlusička Jordan Henderson Jupp Müller Justin Ossevoort Karl Hobley Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Max Jacobson Micael Bergeron Ovidiu Curcan Pascal Hertleif Patrick O'Doherty Peter Tillemans Philipp Keller Ralph Giles ("rillian") Raph Levien reddraggone9 Steven Murawski Stuart Hinson Tyler Harper Vesa Kaihlavirta Warren Harper William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2017-04-18 11:30
e020: Putting code in its place
20:20
New Rustacean newrustacean.com
How do we organize code in Rust? Where do we break it apart into modules or crates, and why? Notes Structuring code in a language like Rust can seem a bit more ambiguous than doing the same in a language with classes to attach all our functionality to, but in practice, the concerns are much the same: modules are namespaces, and we group by responsibility. In today's episode, I talk through that philosophy (and give some comparisons to other languages), and then look at what it looks like in practice! Links Learning Rust Modules, by Jeff Walker, has a nice comparison of C# namespaces and Rust modules. The commit on Lightning inspired by this episode. Sponsors Aleksey Pirogov Andreas Fischer Andrew Thompson Austin LeSure Ben Whitley Charlie Egan Chris Jones Chris Palmer Christopher Giffard Dan Abrams Daniel Collin Derek Morr Eugene Bulkin Jakub "Limeth" Hlusička Jordan Henderson Jupp Müller Justin Ossevoort Karl Hobley Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Max Jacobson Micael Bergeron Ovidiu Curcan Pascal Hertleif Patrick O'Doherty Peter Tillemans Philipp Keller Ralph Giles ("rillian") Raph Levien reddraggone9 Steven Murawski Stuart Hinson Tyler Harper Vesa Kaihlavirta Vlad Bezden Warren Harper William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2017-04-01 20:20
Bonus 8: Giving back (by teaching)
13:30
New Rustacean newrustacean.com
On the responsibilities and opportunities we have to help others with our knowledge and abilities. Notes Many of us have been very blessed with opportunities and support as we learn software. We should go out of our way to share with others in kind. Today, my focus is on teaching, but there are lots of ways to "give back." And I'd love to hear your thoughts and things you're doing in that vein! Links Julia Evans keyof and Mapped Types in TypeScript 2.1 -- the blog post I mentioned writing a few months ago. Sponsors Aleksey Pirogov Andreas Fischer Andrew Thompson Austin LeSure Ben Whitley Charlie Egan Chris Jones Chris Palmer Christopher Giffard Dan Abrams Daniel Collin Derek Morr Eugene Bulkin Jakub "Limeth" Hlusička Jordan Henderson Jupp Müller Justin Ossevoort Karl Hobley Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Max Jacobson Micael Bergeron Ovidiu Curcan Pascal Hertleif Patrick O'Doherty Peter Tillemans Philipp Keller Ralph Giles ("rillian") Raph Levien reddraggone9 Steven Murawski Stuart Hinson Tyler Harper Vesa Kaihlavirta Vlad Bezden Warren Harper William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2017-03-19 13:30
e019: Let's `Clone` a `Cow`
18:11
New Rustacean newrustacean.com
The final pieces of the story for (single-threaded) memory management in Rust. Notes Sometimes, we actually do need to copy types. Wouldn't it be nice if Rust gave us a convenient way to do that when it's convenient, or when the cost is low enough that the ergonomic tradeoffs are worth it? Well, perhaps unsurprisingly, it does! The Copy and Clone traits, plus the Cow type, give us everything we need! Links underhanded.rs The typess std::marker::Copy "Copy types" in the book "Stack-Only Data: Copy" in the new book 7.2.0.2 Moved and copied types: When a local variable is used as an rvalue, the variable will be copied if its type implements Copy. All others are moved. Extended example in "Traits" section of new book std::clone::Clone std::borrow::Cow Default implementations discussion in the current book discussion in the new book Supertraits from the discussion in the reference (6.1.9 Traits): Traits may inherit from other traits.... The syntax Circle : Shape means that types that implement Circle must also have an implementation for Shape. Multiple supertraits are separated by +, trait Circle : Shape + PartialEq { }. In an implementation of Circle for a given type T, methods can refer to Shape methods, since the typechecker checks that any type with an implementation of Circle also has an implementation of Shape... discussion of trait "inheritance" in the book discussion of trait super- and subtyping in the new book (note: still to-be-written at the time this episode was published) Marker traits std::marker in the reference: 9 Special Traits Previous episodes on traits: e008: Just like something else e009: Composing a Rustic tune Sponsors Aleksey Pirogov Andreas Fischer Andrew Thompson Austin LeSure Ben Whitley Charlie Egan Chris Palmer Christopher Giffard Daniel Collin Derek Morr Jakub "Limeth" Hlusička Jordan Henderson Jupp Müller Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Max Jacobson Micael Bergeron Ovidiu Curcan Pascal Hertleif Peter Tillemans Philipp Keller Ralph Giles ("rillian") Raph Levien reddraggone9 Steven Murawski Stuart Hinson Tyler Harper Vesa Kaihlavirta Vlad Bezden William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2017-02-28 18:11
CYSK: clap
10:42
New Rustacean newrustacean.com
A Command-Line Argument Parser. Links crates.io docs.rs GitHub videos book YAML: example from clap YAML associated Rust implementation example from lightning-rs: YAML associated Rust implementation Sponsors Sponsors Aleksey Pirogov Andreas Fischer Andrew Thompson Austin LeSure Ben Whitley Charlie Egan Chris Palmer Christopher Giffard Daniel Collin Derek Morr Jakub "Limeth" Hlusička Jordan Henderson Jupp Müller Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Max Jacobson Micael Bergeron Ovidiu Curcan Pascal Hertleif Peter Tillemans Philipp Keller Ralph Giles ("rillian") Raph Levien reddraggone9 Steven Murawski Stuart Hinson Tyler Harper Vesa Kaihlavirta Vlad Bezden William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2017-02-15 10:42
e018: `Borrow`, `AsRef`, `Deref`: my head hurts now
17:25
New Rustacean newrustacean.com
Three traits which are essential for designing good, Rustic APIs. Notes Borrow, AsRef, and Deref are a little complicated, but they're well-worth understanding. Together, they give you tools for dealing with everything from HashMap and friends to conversions involving smart pointer types to easily using String and str or Vec and slice together. Links AsRef, Borrow, and Deref: Borrow and AsRef in The Rust Programming Language collections::borrow::Borrow std::convert::AsRef std::ops::Deref persistent data structures "Rust and Rest" – Arnin Roacher sentry-cli Particularly relevant previous episodes: e008: Just like something else e009: Composing a Rustic tune e017: Point me where I need to go interview::2: Raph Levien Sponsors Aleksey Pirogov Andreas Fischer Andrew Thompson Ben Whitley Cameron Mochrie Chris Palmer Christopher Giffard Daniel Collin Derek Morr Jakub "Limeth" Hlusička Jordan Henderson Jupp Müller Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Micael Bergeron Ovidiu Curcan Pascal Hertleif Peter Tillemans Philipp Keller Ralph Giles ("rillian") Raph Levien reddraggone9 Ryan Ollos Steven Murawski Vesa Kaihlavirta Vlad Bezden William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2017-01-31 17:25
CYSK: quick-xml
8:38
New Rustacean newrustacean.com
A pull-parser for reading and writing XML. Links crates.io docs.rs GitHub syntax highlighting – example from lightning-rs Sponsors Aleksey Pirogov Andreas Fischer Ben Whitley Cameron Mochrie Chris Palmer Christopher Giffard Daniel Collin Derek Morr Jakub “Limeth” Hlusička Jupp Müller Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Micael Bergeron Ovidiu Curcan Pascal Hertleif Peter Tillemans Philipp Keller Ralph Giles (“rillian”) Raph Levien reddraggone9 Ryan Ollos Steven Murawski Vesa Kaihlavirta Vlad Bezden William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2017-01-09 8:38
www.newrustacean.com
Expand descriptionLet’s talk roadmap! Date: December 29, 2016 Subject: Rust’s achievements in 2016 and goals for 2017 Audio 0.5⨉ 1⨉ 1.25⨉ 1.5⨉ 1.75⨉ 2⨉ §Links Rust releases: 1.10: blog post | release notes 1.11: blog post | release notes 1....
News & Blog Posts 2017-01-03 ~1 min read
News 2: Let's talk roadmap!
21:08
New Rustacean newrustacean.com
Rust’s achievements in 2016 and goals for 2017 Links Rust releases: 1.10: blog post | release notes 1.11: blog post | release notes 1.12: blog post | release notes 1.12.1: blog post 1.13: blog post | release notes 1.14: blog post | release notes Rust 2017 roadmap RFC text RFC discussion Other official Rust blog posts: Shape of errors to come Incremental compilation Milestone: beta Milestone: across crates Milestone: in typechecking Cargo workspaces: Original RFC and discussion Documentation Rust Language Service: Announcement post on internals.rust-lang.org Demo Non-core projects mentioned on the show: Futures Tokio Rocket My projects Lightning RFC #1636: text discussion tracking issue (where you can contribute!) Sponsors Aleksey Pirogov Andreas Fischer Ben Whitley Cameron Mochrie Chris Palmer Daniel Collin Derek Morr Jakub “Limeth” Hlusička Jupp Müller Keith Gray Lachlan Collins Luca Schmid Matt Rudder Matthew Piziak Micael Bergeron Ovidiu Curcan Pascal Hertleif Peter Tillemans Philipp Keller Ralph Giles (“rillian”) Raph Levien reddraggone9 Ryan Ollos Steven Murawski Vesa Kaihlavirta Vlad Bezden William Roe Zaki (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2016-12-29 21:08
Meta 1 – Slowing Down
7:42
New Rustacean newrustacean.com
Avoiding burnout by taking it a little easier. Sometimes, the way a podcast stays in existence is by coming out less often. That’s what’s happening here. Links lightning-rs Pelican Hugo Jekyll Static Site Generators: The definitive listing of Static Site Generators — all 445 of them! Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Follow New Rustacean: Twitter: @newrustacean App.net: @newrustacean Email: hello@newrustacean.com Chris Krycho Twitter: @chriskrycho
Podcast 2016-11-12 7:42
www.newrustacean.com
Expand descriptionCarol (Nichols || Goulding) Date: September 30, 2016 Subject: Learning Rust, teaching Rust, and building community Audio 0.5⨉ 1⨉ 1.25⨉ 1.5⨉ 1.75⨉ 2⨉ §Notes Chris talks with Carol (Nichols || Goulding), a Rust community tea...
Other weeklies from Rust community 2016-10-04 ~1 min read
www.newrustacean.com
Hello! This is a podcast about learning the programming language Rust—from scratch! Apart from this spiffy landing page, all the site content is built with Rust's own documentation tools. You can hear more about why I'm doing this in e000:...
Friends of the Forest 2016-10-04 ~1 min read
Interview 3 – Carol (Nichols || Goulding)
47:11
New Rustacean newrustacean.com
Carol (Nichols || Goulding) on learning Rust, teaching Rust, and building community Notes Chris talks with Carol (Nichols || Goulding), a Rust community team member, co-author of the first major revision of The Rust Programming Language, and co-founder of the first Rust consultancy. Links XSLT (XML Style Sheet Transformations) Rspec Rails Think Through Math — remedial math tutoring app built with Rails Rust for Rubyists The Rust Programming Language Julia Evans RustConf 2016 keynote Rust by Example Rustlings SASS language Carol’s in-progress implementation #rust-community — open meetings at 4pm UTC every Wednesday, with minutes available online first Rust community survey Rust community on GitHub new version of the book on GitHub — you can help, and especially if you’re new, because Steve and Carol both need input to deal with the “familiarity”/“curse of knowledge” problem ownership and borrowing chapters RustConf RustFest Rust Belt Rust — October 27–28, 2016. Don’t forget to use code newrustacean to get 20% off of your registration cost! Integer32 Panoptics – nickel-jwt: crate | docs | source Jake (Nichols || Goulding) on Stack Overflow Friends of the Tree Friends of the Forest Working Effectively With Legacy Code Tilde The C Programming Language – the book Carol compared The Rust Programming Language to in terms of its responsibilities, and also one of the books from which Chris learned C. Sponsors Aleksey Pirogov Cameron Mochrie Chris Palmer Daniel Collin Derek Morr Doug Reeves Hamza Sheikh Jakub “Limeth” Hlusička Jupp Müller Keith Gray Lachlan Collins Leif Arne Storset Luca Schmid Matthew Piziak Micael Bergeron Nils Tekampe Ovidiu Curcan Pascal Hertleif Ralph Giles (“rillian”) Ralph “FriarTech” Loizzo Raph Levien reddraggone9 Ryan Ollos Sean Jensen-Gray Steven Murawski Vesa Kaihlavirta William Roe (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2016-09-30 47:11
www.newrustacean.com
Expand descriptionKatas—or: learning by doing Date: September 10, 2016 Subject: Building (and celebrating) all the little, not-so-glorious pieces of the Rust ecosystem. Audio 0.5⨉ 1⨉ 1.25⨉ 1.5⨉ 1.75⨉ 2⨉ §Notes One of the best ways to learn...
News & Blog Posts 2016-09-13 ~1 min read
Bonus 7: Katas—or: learning by doing
10:19
New Rustacean newrustacean.com
Katas—or: learning by doing Notes One of the best ways to learn is to pick a small problem you have already internalized, and to do it again but in a new language or in a new way in a language you already know. Links AreWeGameYet AreWeIDEYet AreWeWebYet Setting our vision for the 2017 cycle Incremental Compilation cargo-incremental: internals post repo Elm Dave Thomas’ CodeKata Crates I used in my Rust “kata”: Hyper docs crate repo Serde docs crate repo Pencil (inspired by Flask) docs crate repo handlebars-rust: docs crate repo Sponsors Aleksey Pirogov Cameron Mochrie Chris Palmer Daniel Collin Derek Morr Doug Reeves Hamza Sheikh Jakub “Limeth” Hlusička Jupp Müller Keith Gray Lachlan Collins Leif Arne Storset Luca Schmid Matthew Piziak Micael Bergeron Ovidiu Curcan Pascal Hertleif Ralph Giles (“rillian”) Ralph “FriarTech” Loizzo Raph Levien reddraggone9 Ryan Ollos Steven Murawski Vesa Kaihlavirta William Roe (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2016-09-10 10:19
www.newrustacean.com
Expand descriptionIt doesn’t have to be sexy Date: August 20, 2016 Subject: Building (and celebrating) all the little, not-so-glorious pieces of the Rust ecosystem. Audio 0.5⨉ 1⨉ 1.25⨉ 1.5⨉ 1.75⨉ 2⨉ §Notes We love the Rust compiler team. Bu...
News & Blog Posts 2016-08-23 ~1 min read
Bonus 6: It doesn‘t have to be sexy
11:27
New Rustacean newrustacean.com
Building (and celebrating) all the little, not-so-glorious pieces of the Rust ecosystem. Notes We love the Rust compiler team. But there’s more to the Rust community, and more required for Rust to be as great as it can be, than just the language itself. We need to celebrate other libraries, and even the small ones, just as much (and maybe more) than changes to the language. We need to dig in and work on building the whole ecosystem. (The good news is, we are!) Links futures-rs “Zero-cost futures in Rust” Tokio “Announcing Tokio” (Carl Lerche on Medium) “What’s new with ‘The Rust Programming Language’?” Friends of Rust ring – Safe, fast, small crypto using Rust alexa-rs – Rust library for building Alexa skills gilrs – Game Input Library for Rust Sponsors Aleksey Pirogov Cameron Mochrie Cass Costello Chris Palmer Daniel Collin Derek Morr Doug Reeves Eric Fulmer Hamza Sheikh Jakub “Limeth” Hlusička Jared Smith Keith Gray Lachlan Collins Leif Arne Storset Luca Schmid Micael Bergeron Pascal Hertleif Ralph Giles (“rillian”) Ralph “FriarTech” Loizzo Raph Levien reddraggone9 Ryan Ollos Steven Murawski Vesa Kaihlavirta William Roe (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2016-08-20 11:27
www.newrustacean.com
Expand descriptionPoint me where I need to go Date: August 5, 2016 Subject: A deep dive on references and pointers in Rust. Audio 0.5⨉ 1⨉ 1.25⨉ 1.5⨉ 1.75⨉ 2⨉ §Notes By listener request, today we look at the syntax and semantics of referenci...
News & Blog Posts 2016-08-09 ~1 min read
e017: Point me where I need to go
17:06
New Rustacean newrustacean.com
A deep dive on references and pointers in Rust. Notes By listener request, today we look at the syntax and semantics of referencing and dereferencing and the corresponding & and * operators. As was the case with e016, the code samples have little to say in their documentation; reading the code will be necessary for seeing the ideas. Links “Inside the Fastest Font Renderer in the World” The Rust Platform: original blog post Rust internals discussion Reddit discussion Hacker News discussion follow-up Reddit discussion Cargo vendoring support in nightly MIR on by default in nightly References and dereferencing: The Rust Programming Language: References and Borrowing Deref coercions Rust by Example: Flow Control: pointers/ref The Rust Reference: Unary Operator Expressions Pointer Types Sponsors Aleksey Pirogov Cameron Mochrie Cass Costello Chris Palmer Daniel Collin Derek Morr Doug Reeves Eric Fulmer Hamza Sheikh Jakub “Limeth” Hlusička Jared Smith Keith Gray Lachlan Collins Leif Arne Storset Luca Schmid Micael Bergeron Pascal Hertleif Ralph Giles (“rillian”) Ralph “FriarTech” Loizzo Raph Levien reddraggone9 Ryan Ollos Steven Murawski Vesa Kaihlavirta William Roe (Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!) Become a sponsor Patreon Venmo Dwolla Cash.me Flattr PayPal.me Contact New Rustacean: Twitter: @newrustacean Email: hello@newrustacean.com Chris Krycho GitHub: chriskrycho Twitter: @chriskrycho
Podcast 2016-08-08 17:06
www.newrustacean.com
Expand descriptionRefCells and code smells Date: July 23, 2016 Subject: Digging deeper on smart pointers and mutability with Cell and RefCell. Audio 0.5⨉ 1⨉ 1.25⨉ 1.5⨉ 1.75⨉ 2⨉ §Notes What are the Cell and RefCell types, and when should we...
News & Blog Posts 2016-07-26 ~2 min read
"The signature of your function is your contract with not only the compiler, but also users of your function. Do you want to know what was harder than ..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.