This presentation was recorded at GOTO Copenhagen 2024. #GOTOcon #GOTOcph https://gotocph.com Tim McNamara - Author of "Rust in Action", Software Consultant & Coach @timClicks RESOURCES https://bsky.app/profile/timclicks.dev https://timclicks.dev https://mastodon.nz/@timClicks https://github.com/timclicks https://twitter.com/timClicks https://linkedin.com/in/timmcnamaranz https://www.rustinaction.com https://doc.rust-lang.org/stable/book Links https://msrc.microsoft.com/blog/2019/07/we-need-a-safer-systems-programming-language https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html ABSTRACT An informative guide to what is special about the Rust programming language and how to bring the best parts of it into your software project, whichever programming language it's implemented in. Rust programmers spend a lot of time thinking about lifetimes, ownership and borrowing. So should you! These concepts are actually universal in programming. Rust's approach is to encode them into the type system and make the compiler check that you're obeying the rules (that you manually check anyway). We'll also learn about some of its language features, including algebraic data types, error handling, and how it can guarantee that (the equivalent of) a NullPointerExeception will never occur. This language that brings memory safety to systems programming has much to share. Come and learn! [...] TIMECODES 00:00 Intro 00:52 2022 was so long ago 03:50 By 2024, things started to change 06:14 A tiny bit of Rust 09:32 Central concepts 10:16 Ownership 11:26 Lifetimes 12:18 Borrowing 15:02 Demo 20:01 Error handling 20:20 Demo 31:45 Why is Rust so fast? 32:22 No garbage collector 34:44 Stack heavy 37:15 Minimal overhead for high-level constructs 39:13 Outro Download slides and read the full abstract here: https://gotocph.com/2024/sessions/3315 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 #RustInAction #Rust #MemorySafety #SystemsProgramming #ComputerScience #TimMcNamara #SoftwareEngineering #Programming #PersistentStorage #Networking #SegmentationFault #FunctionalProgramming 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.