MCPcopy Index your code
hub / github.com/awesome-kusion/rust-code-book

github.com/awesome-kusion/rust-code-book @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
16 symbols 43 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Rust Source Code Analysis

English 简体中文

Preface

When I was working on KusionStack and KCLVM projects, I started to learn the source code of Rustc with the idea of learning the design of excellent compiler. I took some notes and documents during this process. With the suggestion of Chai, I organized them into an article and posted it. I didn't expect people to be interested in it, so I decided to continue writing articles on Rustc source code analysis. This is the original intention of writing this e-book.

KCLVM is a compiler we developed with Rust in the project of Kusion, and some parts of this book are applied to KCLVM. If you are interested in the cloud-native ecology and technology, you can learn about the project 👉 KusionStack. And if you are interested in Rust, programming languages or compilers, maybe you prefer 👉 KCLVM.

Finally, most of the content in these e-book are my personal understanding when reading the source code, as well as some descriptions in the rust-dev-guide. Owing to the limitation of my knowledge, there must be mistakes and errors in the book. So we welcome all forms of conrtibutions(fix typo/polish english/translation/write article or other) from everyone.


E-book

Target: Analysis and learn from the source code of Rust standard library, Rust compiler(Rustc) and open source project written by Rust.

cover

Catalog

Preface


Star History Chart

Welcome to contact us in following ways: - Slack: https://join.slack.com/t/rustcodebook/shared_invite/zt-1htuqzkf9-45i6FO1L~ihwnmbGGh7QEw - Twitter: He1pa

Core symbols most depended-on inside this repo

j
called by 14
js/bigPicture.js
q
called by 9
js/bigPicture.js
R
called by 6
js/bigPicture.js
B
called by 3
js/bigPicture.js
W
called by 2
js/bigPicture.js
P
called by 2
js/bigPicture.js
G
called by 2
js/bigPicture.js
X
called by 2
js/bigPicture.js

Shape

Function 16

Languages

TypeScript100%

Modules by API surface

js/bigPicture.js14 symbols
js/custom.js2 symbols

For agents

$ claude mcp add rust-code-book \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact