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

So I've seen them sometimes say, we think this is a Lips API decision and we will go with whatever Lips API decides.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

RFC, request for comment, is the way the Rust project makes big decisions.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

But, you know, big ones is important to say.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Basically, the way it works is, let's say you have a language feature that's kind of big.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

For example, I had one called DriveSmartPointer, which...

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

basically make some types in the standard library less special.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

So, I mean, sometimes people begin implementation already, but the idea is that you write the RFC first.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

You write this doc and it has a template.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And I think it's actually a pretty good template.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

The idea is the first section is, I think, motivation.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Well, the first one is summary.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

But the first important one is motivation.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

We explain why this feature.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And then I think they have two really interesting sections.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

They have the guide level explanation and the reference level explanation.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And what this is, is that in the guide level explanation, you explain your feature and

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

as if you were writing a guide, as if the feature already existed.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And in the reference level explanation, you explain your feature again as if it already existed, but as if it would be in the language reference instead of a tutorial.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Yeah, so, you know, you get to explain.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

So rational and alternatives, I think, is a pretty important section because you get to answer all of the questions before they get asked.