Skip to content

Conversation

mark-i-m
Copy link
Contributor

See #48

cc @phansch

@mark-i-m mark-i-m mentioned this pull request Feb 13, 2018
27 tasks
src/glossary.md Outdated
------------------------|--------
AST | the abstract syntax tree produced by the syntax crate; reflects user syntax very closely.
codegen unit | when we produce LLVM IR, we group the Rust code into a number of codegen units. Each of these units is processed by LLVM independently from one another, enabling parallelism. They are also the unit of incremental re-use.
completeness | soundness is a technical term in type theory. Completeness means that every type-safe program also type-checks. Having both soundness and completeness is very hard, and usually soundness is more important. (see "soundness").

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: soundness is ...

query | perhaps some sub-computation during compilation ([see more](query.html))
sess | the compiler session, which stores global data used throughout compilation
side tables | because the AST and HIR are immutable once created, we often carry extra information about them in the form of hashtables, indexed by the id of a particular node.
soundness | soundness is a technical term in type theory. Roughly, if a type system is sound, then if a program type-checks, it is type-safe; i.e. I can never (in safe rust) force a value into a variable of the wrong type. (see "completeness").
Copy link

@MaloJaffre MaloJaffre Feb 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: I can never ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, what is the typo here?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops sorry, I wrongly read this sentence.

@phansch
Copy link
Contributor

phansch commented Feb 13, 2018

@mark-i-m Thanks, lgtm! I will have to pick up some book on type theory at some point this year, though 👍

@mark-i-m mark-i-m merged commit 4357cf5 into rust-lang:master Feb 14, 2018
@mark-i-m mark-i-m deleted the markim_glossary_001 branch May 23, 2018 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants