Architecture Overhauls

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
活発
技術スタック
rust
領域
build-system

調査の方向性

This issue lists broad architecture goals rather than a bounded change, and names no files or tests to start from. First read the existing architecture documentation and inspect the build graph, cache, and compiler backend entry points; choose one item only after its scope is defined. Done cannot be assessed until a specific goal and acceptance criteria are agreed.

索引モデルが issue の本文から書いたものです。

説明

This is a list of things I want to overhaul about rustd's architecture.

  • Instead of worker per workspace, aggregate all workspaces into a single build graph and optimize that. That way we can get cross-workspace sharing.
  • Shared build graph for test/clippy - this is a work in progress - would allow us to do clippy/test without paying a full recompile of the tip crates
  • Pick one of cranelift / llvm / llvm-tpde instead of supporting both. llvm o2 fast emit is close to cranelift. simpler to support
  • More disk caches for the analysis frontend. stress test disk caches all around
  • Ideally compile the entire tree with rustd and/or hybrid approach - if there's rustc artifacts we can reuse, reuse them and then rewire them with rustd.

General things we should have

  • fuzzing
  • replicated / normalized perf vs rustc directly
  • support for all rust point versions (1.98, 1.97, 1.96, etc) and nightlies? preventative rust maintenance
  • broader target support - funny arm variants, wasm variants, etc

General things todo:

  • human post processing of docs/language/code
  • proper release pipeline
  • proper downloads/artifacts page
  • proper docs
  • proper crater run infrastructure
  • blog post / how it works

Existing architecture bits

  • supports query overlays for fast worktree edits - however is a bit nerfed until the aggregate all workspaces thing is in
  • supports s3 / disk caches - ideal for CI - goal is incremental CI
  • supports splicing and hotpatching - two really fast linker shortcuts
主要言語
Rust
スター
248
フォーク
13
平均マージ
7時間 52分
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DioxusLabs/rustd のほかの issue

DioxusLabs/rustd の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。