Gezinmeyi atla
Why is Rust different than many/most programming languages?
0:00 / 1:05:52

Why is Rust different than many/most programming languages?

Gergely Orosz

@GergelyOrosz369 B takipçi

X profili
598 beğeniİndirOrijinal gönderi

52.555 görüntüleme

Why is Rust different than many/most programming languages? Alice Ryhl works on Google's Android Rust team, is a Rust language team advisor, and is a core maintainer of Tokio (the most widely-used async runtime in Rust) Timestamps: 00:00 Intro 04:09 Tokio: an overview 05:11 What Alice likes about Rust 12:48 Rust for TypeScript engineers 13:51 Moving from C++ to Rust 14:34 Memory safety 18:12 Garbage collection tradeoffs 21:46 Ownership, references, and borrowing 26:59 Unsafe in Rust 31:21 Crates and Cargo 35:55 Language design and RFCs 43:02 Building new features 46:30 Editions vs. versions 49:47 Getting paid to work on Rust 51:27 Contributing to Rust 53:03 Rust in the Linux kernel 55:45 AI use cases for Rust 1:01:35 Learning Rust 1:03:54 Book recommendation Brought to you by: • Antithesis – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages. • Sentry – application monitoring software considered “not bad” by millions of developers Three things worth knowing about Rust: 1. Rust was designed to turn implicit failures into compile errors. Where other languages allow you to forget something, Rust makes an omission into a compilation error for things like null checks, uninitialized variables, or error propagation with the ‘?’ character. If you mess something up, it’s almost certain your program will not compile. If it does, at the very least you should see a lint warning. 2. Refactoring in Rust is safe and easy, thanks to the compiler. Alice: “I change a return type or struct field, then just fix the compiler errors until the compiler stops shouting. And then once I’ve done that, I’ve updated every place I need to update.” Rust’s focus on correctness makes refactoring it more straightforward than dynamically-typed languages and Java-style typed ones are to refactor. 3. “Editions” allow Rust to make breaking changes without ‘breaking’ anyone’s code. Rust editions (2015, 2018, 2021, 2024) can be mixed freely across crates. A library on the 2021 edition works seamlessly with a binary on the 2024 edition. This is how Rust evolves syntax (like adding async/await as keywords) without forcing an ecosystem-wide migration. Thanks a lot, Alice for this great discussion! And for your work on Rust.

13 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • Gergely Orosz profil fotoğrafı

    @GergelyOrosz

    Watch or listen on other platforms: • YouTube: • Spotify: • Apple: • Summary and transcript:

    8 beğeni

  • Eze profil fotoğrafı

    @stillife27

    thanks, great interview i love her explanations, please more of this techcnical stuff less AI hype people

    3 beğeni

  • Gergely Orosz profil fotoğrafı

    @GergelyOrosz

    I have never had any "AI hype person" on my podcast! I do have good engineers who use AI tho, but they are good engineers first and foremost

    2 beğeni

  • Utkarsh Singh profil fotoğrafı

    @Utkarsh51557661

    rust's ownership model really sets it apart. makes memory safety a priority without the usual garbage collection stress.

    1 beğeni

  • Nikolai Golub profil fotoğrafı

    @citizen_stig

    Highly recommend. Alice known not only for her deep technical knowledge, but also for ability to explain things clearly. Which is rare combo.

    1 beğeni

  • Gian Giovani profil fotoğrafı

    @g_giovanii

    Actually Go with godoc you can have example from the code and keep the example not drifting. (2015)

    1 beğeni

  • Sebastian Buzdugan profil fotoğrafı

    @sebuzdugan

    i've shipped rust services where tokio was solid, but compile times slowed iteration most

    1 beğeni

  • Ferbin profil fotoğrafı

    @Ferbin08

    The bar is simple: did you solve something that was too expensive to do before? The tool is secondary to the outcome.

  • someoak profil fotoğrafı

    @someoak2

    those who prefer youtube:

  • Decebal | Rust for the AI execution layer ⚙️ profil fotoğrafı

    @ddonprogramming

    Point 2 is what sold me on Rust for AI infrastructure. When you're iterating on LLM integration patterns, the types change constantly. Rust's compiler turns every refactor into a guided checklist instead of a prayer. The editions model is underappreciated too. In my experience, ecosystem stability is the number one concern teams raise when evaluating Rust for production AI workloads. Adopting new language features without a forced migration removes a real blocker.

  • Tu profe de IA profil fotoğrafı

    @tuprofedia

    Genial ruts llevo apenas 15 días creando una TUI en ruts para hivecode y ella control y velocidad a me permite es brutal!!!

  • Rami Baksansky profil fotoğrafı

    @ramib

    Royally pain in the ass language. Especially on Android. No official build plugin for it for example.

  • Kehn Marv.rs 🦀 profil fotoğrafı

    @KehnMarv

    Thanks for the share Time to savour & digest every bit of it 🔥🦀