Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

Alice Ryhl

๐Ÿ‘ค Speaker
505 total appearances

Appearances Over Time

Podcast Appearances

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

But different crates can use different additions.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And so I might have a crate using the 2025 edition of the language.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And I can keep using that forever because Rust has a really, really high backwards compatibility guarantee.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

So you write all of your code, and the guarantee is that it's going to keep working forever.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

That's the idea, anyway.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Additions are basically the way that Rust makes breaking changes without breaking people.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Because they might change the syntax of the language.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

For example, async await was added to an addition.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And so code using the old edition can't use async await.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

There you could have a variable called async if you want.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Let async equal five.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And then in the new edition, you can't.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

But you can still mix and match code written in different editions so they work together.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

So I might have a library written in the 2021 edition and you can write your library in 2024 edition or your binary project.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And then you can still use my library.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Really, the big idea is to say, we want the old code to continue working, but we still want to change the language.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And so the difference from other kinds of versions of languages, I mean, Python 2 version, Python 3 comes to mind, is that you can totally mix and match in any way you want.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

We have, of course, the language team, which, you know, they have meetings every week and they do a lot of stuff and so on and so forth.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

The language team advisor role is a way to be part of the language team light in some sense.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

So you're someone that they've said, okay, we trust this person's opinion.