Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some codegen related terminology to glossary #56

Merged
merged 1 commit into from
Feb 26, 2018

Conversation

mark-i-m
Copy link
Member

@mark-i-m mark-i-m commented Feb 15, 2018

cc #48

EDIT: also remove duplicate MIR def...

@mark-i-m mark-i-m mentioned this pull request Feb 15, 2018
27 tasks
@mark-i-m mark-i-m added the waiting-on-review This PR is waiting for a reviewer to verify its content label Feb 15, 2018
@mark-i-m
Copy link
Member Author

I would appreciate some confirmation on these definitions.

local crate | the crate currently being compiled.
LTO | Link-Time Optimizations. A set of optimizations offered by LLVM that occur just before the final binary is linked. These include optmizations like removing functions that are never used in the final program, for example. _ThinLTO_ is a variant of LTO that aims to be a bit more scalable and efficient, but possibly sacrifices some optimizations. You may also read issues in the Rust repo about "FatLTO", which is the loving nickname given to non-Thin LTO. LLVM documentation: [here][lto] and [here][thinlto]
[LLVM] | (actually not an acronym :P) an open-source compiler backend. It accepts LLVM IR and outputs native binaries. Various languages (e.g. Rust) can then implement a compiler front-end that output LLVM IR and use LLVM to compile to all the platforms LLVM supports.
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't it stand for Low Level Virtual Machine? Or did they do it away with that.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's what I thought too, "The name "LLVM" itself is not an acronym; it is the full name of the project."

Copy link
Contributor

Choose a reason for hiding this comment

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

I sort of remember that it was an acronym and they decided that was dumb, since it wasn't really a VM anymore, and so they stopped that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, I can change it if you want. I just wrote whatever they said on the website...

Copy link
Contributor

Choose a reason for hiding this comment

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

no it's fine :)

@nikomatsakis
Copy link
Contributor

They all sounded right to me.

@nikomatsakis
Copy link
Contributor

Needs rebase tho

@mark-i-m
Copy link
Member Author

Rebased :)

Also, a heads up: I might be really slow to answer for the next few days...

@nikomatsakis nikomatsakis merged commit 5803d3d into rust-lang:master Feb 26, 2018
@mark-i-m mark-i-m deleted the markim_glossary_002 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
waiting-on-review This PR is waiting for a reviewer to verify its content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants