rustc-dev-guide Overview

栏目: IT技术 · 发布时间: 5年前

内容简介:TheIn ourDecember update, we announced plans for the publication of the "rustc-dev-guide Overview". Our goal is to describe the integrated components of the compiler in a high-level document for users and potential developers. The Overview will be publishe

The rustc compiler includes over 380,000 lines of source across more than 40 crates 1 to support the lexing through binary linking stages of the Rust compile process. It is daunting for newcomers, and we recognize that a high-level survey of the pipeline is warranted.

In ourDecember update, we announced plans for the publication of the "rustc-dev-guide Overview". Our goal is to describe the integrated components of the compiler in a high-level document for users and potential developers. The Overview will be published at the beginning of therustc-dev-guide to orient readers to the more detailed documentation of the compiler in subsequent chapters.

Rustc Overview Structure

We will break the compiler down to address two questions at a high-level:

  1. What does the compiler do to your source code?
  2. How does the compiler do it?

As we address these general areas, we will provide a synopsis that briefly covers frequent community questions like:

rustc

Get Involved!

Work is in progress on the Overview, and we need your help. A working draft of the document is available in this pull request on the rustc-dev-guide GitHub repository.

If there is an area of rustc that you would like to understand better and it is appropriate for an overview document, please open an issue on our issue tracker to let us know.

And if you know the compiler and want to pitch in on the rustc-dev-guide Overview, open a pull request with your revisions. We welcome your contributions and look forward to your participation!

Interested in Learning (Working Group)?

Are you interested in learning more about the rustc compiler and teaching others? Drop by our Zulip stream and say hello!

1 These numbers account for lines in Rust files across all dependencies necessary to build rustc . Thanks to @LeSeulArtichaut for these calculations! See the notes on Zulip for additional details.


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

未来版图

未来版图

麻省理工科技评论 / 人民邮电出版社 / 2018-5-1 / CNY 69.80

《麻省理工科技评论》作为世界上历史悠久、影响力极大的技术商业类杂志,每年都会依据公司的科技领军能力和商业敏感度这两个必要条件,从全球范围内选取50家未来可能会成为行业主导的聪明公司。 这些聪明公司,并非都是行业巨头,甚至专利数量、公司所在地以及资金规模都不在考察范围内。 这些公司是“高精尖科技创新”与“能够保证公司利益* 大化的商业模式”的完 美融合。无论公办私营,无关规模大小,这些遍布全球......一起来看看 《未来版图》 这本书的介绍吧!

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具