rust-lang / rustc-dev-guide

A guide to how rustc works and how to contribute to it.
https://rustc-dev-guide.rust-lang.org
Apache License 2.0
1.66k stars 516 forks source link

Collect a set of PRs that help understanding some parts of the compiler #619

Open spastorino opened 4 years ago

spastorino commented 4 years ago

@rust-lang/wg-learning let's collect here PRs that may help readers understanding different parts of the compiler.

I've started this list, it's raw and there may be things that shouldn't be there but I guessed it would be better to share as is, rather than waiting longer. We can start polishing it, adding more PRs, removing some of them, adding more information next to each PR like explaining what part of the compiler each PR is going to help explaining, etc.

mark-i-m commented 4 years ago

https://github.com/rust-lang/rust/pull/70645/files

This thread illustrates two things:

spastorino commented 4 years ago

@mark-i-m when I saw it I thought to add it to the list, please go ahead and add it to the HackMD.

mark-i-m commented 4 years ago

@spastorino One thing that would be helpful is if (when you have time) you could add for each link what you think is to be learned from that PR.

bjorn3 commented 4 years ago

https://github.com/rust-lang/rust/pull/70705 may be a good fit. It adds a new trait that is automatically implemented by the compiler for all types.

spastorino commented 4 years ago

@spastorino One thing that would be helpful is if (when you have time) you could add for each link what you think is to be learned from that PR.

Yes, will do at some point :).

jyn514 commented 4 years ago

There's a work in progress list of these at https://hackmd.io/xD2fQk_cT_ui6Nt40jHPwA?edit.