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

If you have, I don't know, a pull request changing something in the reference, then the language team might say, oh, we need to make sure that everybody is on board with this change.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

They'll tell the bot to start an FCP on this random PR or some random issue or wherever it might be.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

The same process applies.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

But you put the feature behind a feature flag.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

In Rust, we have this thing called nightly features, which basically means that you can't use it normally.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

But if you use the nightly build of the compiler, you can.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Once you have your feature, I mean, you might begin.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

But, you know, once you have your accepted RFC, you start submitting pull requests, you implement your feature, it gets merged, and people start using it experimentally.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Yeah, and then at some point, you might say, okay, I think this feature is ready.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And this is kind of a recent invention, but we have come up with this idea of a stabilization report.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

In the pull request that removes the feature flag, we write up a little report saying,

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

For example, how it's been used and explaining like, oh, here are the dangerous edge cases.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Here are the tests for each of the dangerous edges.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

So that kind of stuff.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And then they use the FTP process again to agree to stabilize it.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And then it's merged.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And so now you have a feature without a feature flag.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

In the main branch.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Between zero days and six weeks from that, there will be a beta release of the compiler, and it will be... And it will be in it.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Yeah, it will be in it.