Meta 3: Happy Coding
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
A story and a dream (and the promise of Rust): the final episode of New Rustacean! Show Notes Rust by Example Winning Slowly Mass Affection buttondown.email/rewrite patreon.com/chriskrycho Sponsors Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne Andrew Dirksen Andrew Thompson Anthony Deschamps Anthony Scotti Arlen Haftevani Arlo (Hyena) Arun Kulshreshtha Behnam Esfahbod Benjamin Manns Benjamin Wasty Brandon ‘Spanky’ Mills Brian Casiello Brian Manning Brian McCallister Bryan Stitt Caryn Finkelman Cass Costello Cat Dad Chap Lovejoy Charlie Egan Chip Chris Palmer ..read more
Visit website
News: Rust 1.35
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
WASI, Option::copied, and the future of async/await syntax! Show Notes Rust 1.34.1 release notes blog post discussion about Error::type_id Rust 1.34.2 release notes blog post discussion about Error::type_id Rust 1.35 release notes blog post WASI The Bike Shed episode Async/await std::futures API docs internal thread on syntax for .await Sponsors Thanks to Parity for sponsoring the show and hiring Rust developers! Patreon Sponsors Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne Andrew Dirksen Andrew Thompson Anthony Deschamps Anthony Scotti Arlen ..read more
Visit website
CYSK: bindgen and cbindgen
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
Automatic generation of FFI types between Rust and C APIs. Show Notes bindgen the official guide API docs cbindgen a blog post by one of the main authors of the crate rust-ffi Binding libraries for scripting languages PyO3 Neon Rustler a great write-up from the folks at Discord Helix Sponsors Thanks to Parity for sponsoring the show and hiring Rust developers! Patreon Sponsors Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne Andrew Dirksen Andrew Thompson Anthony Deschamps Anthony Scotti Arlen Haftevani Arlo (Hyena) Arun Kulshreshtha Behnam Esfahbod ..read more
Visit website
E031: FFI Deep Dive
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
Exposing Rust types and functions to C API consumers. Show Notes It’s impossible to make the declarations below follow the order I talked through them on the recording without also making them horrible to read, so just use this outline instead: add_in_rust Strings concat_strings free_rust_string Point point_translate union OpaquePoint opaque_point_new opaque_point_translate opaque_point_free Links Rust FFI Omnibus the repository for the show RFC #2195 Sponsors Thanks to Parity for sponsoring the show and hiring Rust developers! Patreon Sponsors Adam Green Aleksey Pirogov Alexande ..read more
Visit website
E030: Can You See Me Now?
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
Item visibility and pub(<restricted>) as API design tools. Show Notes The easiest and most effective way to understand the example in this case will simply be to look directly at the source code. You can read the docs for each of the nested modules, but you’ll be doing a lot of navigating around for that. Also, I am using Cargo’s --document-private-items flag, so that you can see all the items in all the modules, even those which are not public, but note that usually you would not see docs for those! Links the reference on visibility RFC #1422 episode source code e020 Sponsors Thanks t ..read more
Visit website
News: Rust 1.33 and 1.34
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
Moar const fn, some Pin, and alternative Cargo registries! Show Notes 1.33 release notes Pin RFC API docs 1.34 release notes Sponsors Thanks to Parity for sponsoring the show and hiring Rust developers! Patreon Sponsors Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne Andrew Dirksen Andrew Thompson Anthony Deschamps Anthony Scotti Arlen Haftevani Arlo (Hyena) Arun Kulshreshtha Behnam Esfahbod Benjamin Manns Benjamin Wasty Brandon ‘Spanky’ Mills Brian Casiello Brian Manning Brian McCallister Bryan Stitt Caryn Finkelman Cass Costello Cat Dad Chap Lovejoy Charl ..read more
Visit website
E029: I’m Out to C
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
Using Rust’s Foreign Function Interface (FFI) with C! Show Notes The code samples here directly match the things I described in the show, so you will likely want to look at add and ffi::add, then Point, translate, and ffi::translate in that order. Links Other helpful Rust FFI discussions: The Rust Programming Language’s materials the nomicon Rust FFI Omnibus the Reference’s discussion the associated Rust API docs Sponsors Thanks to Manning for sponsoring the show and giving all of you a 40%-off discount on their whole store (but especially Carol Nichols’ and Jake Goulding’s Rust in Motion vi ..read more
Visit website
Bonus 14: How the Sausage Gets Made
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
How I make the show, and why you won’t find it on Google Play, Spotify, or Stitcher. Show Notes Winning Slowly guest lectures on podcasting: A, B Audio recording/editing/production software: Icecast Rogue Amoeba Audio Hijack Loopback Ferrite iZotope RX previous episodes of interest building a markdown link extractor using rustdoc Sponsors Thanks to Parity for sponsoring the show and hiring Rust developers! Patreon Sponsors Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne Andrew Dirksen Andrew Thompson Anthony Deschamps Anthony Scotti Arlen Haftevani ..read more
Visit website
Bonus 13: I Still Make Silly Mistakes
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
A story about parsing command-line arguments manually and some thoughts on “rookie mistakes.” Show Notes why you might want to invoke the same program with different names Python’s argparse library Commander in Node clap structopt pulldown-cmark Sponsors Thanks to Parity for sponsoring the show and hiring Rust developers! Patreon Sponsors Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne Andrew Dirksen Andrew Thompson Anthony Deschamps Anthony Scotti Arlen Haftevani Arlo (Hyena) Behnam Esfahbod Benjamin Manns Benjamin Wasty Brandon ‘Spanky’ Mills Brian Casiello ..read more
Visit website
E028: Meet My Associates
New Rustacean – learning the Rust programming language
by Chris Krycho
1y ago
Associated items: functions and methods, constants, types, and (very briefly!) GATs. Show Notes Iterator source the first Traits deep dive episode RFC #1598 RFC #195 The Reference on associated items Rust 1.20 deals.manning.com/new-rustacean Sponsors Thanks to Manning for sponsoring the show and giving all of you a 40%-off discount on their whole store (but especially Carol Nichols’ and Jake Goulding’s Rust in Motion video content and the Rust in Action MEAP!) at deals.manning.com/new-rustacean Patreon Sponsors Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne A ..read more
Visit website

Follow New Rustacean – learning the Rust programming language on Feedspot

Continue with Google
OR