This presentation was recorded at YOW! Australia 2024. #GOTOcon #YOW https://yowcon.com Steve Smith - Roving Polyglot Developer @TarkaSteve ORIGINAL TALK TITLE Understanding Rust; Or How I Learned to Stop Worrying & Love the Borrow-Checker RESOURCES https://bsky.app/profile/tarka.haltcondition.net https://hachyderm.io/@tarkasteve https://github.com/tarka https://www.linkedin.com/in/tarkasteve https://haltcondition.net Links https://emschwartz.me/async-rust-can-be-a-pleasure-to-work-with-without-send-sync-static https://doc.rust-lang.org/nomicon/send-and-sync.html https://rust-unofficial.github.io/patterns/idioms/coercion-arguments.html ABSTRACT You've seen the Github surveys, you've seen the cool stuff Amazon, Oxide and even Microsoft are working on, and you want to get in on the action. So you fire up an editor and start your first project. And the borrow-checker immediately crushes your hopes and dreams. If this sounds familiar, this is the talk for you. Rust can be very welcoming, but it expects you to abide by a few rules that other languages regard as optional In this talk Steve Smith takes you through some of these core rules and why they exist, drawing comparisons to existing programming techniques such as garbage collection and resource management. He also introduces some of the tools that Rust gives you to work with its rules rather than against them, produce more elegant code, and learn to love the borrow-checker. [...] TIMECODES 00:00 Intro 03:23 Recap: Mutability rules 05:59 Recap: Move & borrow 07:20 Garbage collection 10:00 The compiler is resource management 15:24 Stack & heap 29:22 Sharing 25:10 Threads 29:07 Traits & markers 36:23 Async 30:13 Conclusion 41:35 Outro Download slides and read the full abstract here: https://yowcon.com/brisbane-2024/sessions/3479 RECOMMENDED BOOKS Tim McNamara • Rust in Action • https://amzn.to/3ux2R9u Brenden Matthews • Code Like a Pro in Rust • https://amzn.to/3LFAyy9 Prabhu Eshwarla • Rust Servers, Services & Apps • https://amzn.to/3yV13br Bastian Gruber • Rust Web Development • https://amzn.to/3lquaQX Blandy, Orendorff & Tindall • Programming Rust • https://amzn.to/3x7r6w6 Ken Youens-Clark • Command-Line Rust • https://amzn.to/3PQZ539 Kevin Hoffman • Programming WebAssembly with Rust • https://amzn.to/3x3brhe Richard Feldman • Elm in Action • https://amzn.to/387kujI https://bsky.app/profile/gotocon.com https://twitter.com/GOTOcon https://www.linkedin.com/company/goto- https://www.instagram.com/goto_con https://www.facebook.com/GOTOConferences #Rustlang #Rust #MemorySafety #SystemsProgramming #ComputerScience #BorrowChecker #SoftwareEngineering #Programming #PersistentStorage #Networking #SegmentationFault #FunctionalProgramming #TodayInTech #SteveSmith #TarkaSteve #YOWcon CHANNEL MEMBERSHIP BONUS Join this channel to get early access to videos & other perks: https://www.youtube.com/channel/UCs_tLP3AiwYKwdUHpltJPuA/join Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech Sign up for updates and specials at https://gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1
Get notified about new features and conference additions.