The smart_pointers section is too big

オープン
#1,701 コメント 2 件 リアクション 5 件 担当者 0 名 GitHub で見る

@theayush07 がすでに取り組んでいます。

2026年10月7日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

smart_pointers演習の参照、特にSmart PointersおよびFearless Concurrencyの章と、issueにリンクされているCowのドキュメントを確認してください。arc1演習がthreadsのトピックとどのようにグループ化されているかを確認してください。完了の条件は、読解内容の重複が減り、適切な範囲に収まり、その変更が受け入れられる場合はarc1が移動されていることです。

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

説明

A-exercises

When following the exercises, it is nice to check the suggested reading.
For the smart_pointers exercises, it includes a lot of reading:

  • Smart Pointers
    -> the full chapter about Smart Pointers in The Book. It is a big chapter.
  • Using Box to Point to Data on the Heap
    -> Repetition. This is included in the Smart Pointers chapter
  • Rc<T>, the Reference Counted Smart Pointer
    -> Repetition. This is included in the Smart Pointers chapter
  • Shared-State Concurrency
    -> This is included in the chapter Fearless Concurrency in The Book.
    To understand it, it is better to read the full chapter, and it is a Big chapter.
  • Cow Documentation
    -> Advanced topic about Copy-On-Write (actually, Clone-On-Write in Rust), a performance optimization technique, which requires to check other sources (example) to understand well. (This is not actually covered in The Book).

The exercises and reading to do before the Smart Pointers section are quite fast to get through. However, reading the references for 2 full chapters in The Book + researching about the Cow type is more time consuming. So, less engaging.

I would suggest to move the arc1 exercise under the threads topics to not have to read about concurrency yet.

Rustlings v5.6.1

主要言語
Rust
スター
64.6k
フォーク
11.3k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

rust-lang/rustlings のほかの issue

rust-lang/rustlings の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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