Skip to content

5.1 The stack and the heap #102

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

Merged
merged 6 commits into from
Apr 21, 2016

Conversation

mandel59
Copy link
Contributor

No description provided.

@tatsuya6502
Copy link
Member

@mandel59 さん

翻訳への参加、ありがとうございます。残りの部分の翻訳ですが、作業していただくお時間はありそうですか? もし難しいようでしたら、ご連絡ください。

その場合、例えば、いま翻訳できている部分をレビューし、もし修正が必要なら、修正していただいた後にマージすることもできますし、あるいは、現状のまま @mandel59 さんの翻訳中のリポジトリを誰か手の空いてる人がフォークして、翻訳を続けることもできます。いずれの場合でも、いままで翻訳していただいた分の @mandel59 さんの貢献は、コミット履歴として残ります。

@tatsuya6502 tatsuya6502 added this to the 1.6 milestone Apr 12, 2016
@mandel59
Copy link
Contributor Author

遅くなりましたが、翻訳を完了しました。

@mandel59 mandel59 changed the title [WIP] 5.1 The stack and the heap 5.1 The stack and the heap Apr 20, 2016
These two terms are about memory management. The stack and the heap are
abstractions that help you determine when to allocate and deallocate memory.
-->
これら2つの用語はメモリ管理についてのものです。スタックとヒープは、いつメモリがアロケート・デアロケートするのかを決定するのを助ける抽象化です。
Copy link
Member

Choose a reason for hiding this comment

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

[nits]

「いつメモリがアロケート・デアロケートするのか」
           ↓
「いつメモリをアロケート・デアロケートするのか」

@tatsuya6502
Copy link
Member

@mandel59 レビュー終わりました。いくつかコメントしましたので、確認(+必要なら修正)をお願いします。

[nits] と書かれたコメントは、些細なことなので、無視していただいても結構です。

@mandel59
Copy link
Contributor Author

mandel59 commented Apr 20, 2016

原文の内容に誤りがある場合、修正してコメントを付記するか、訳注で説明するか、どちらがよいのでしょうか。

@tatsuya6502
Copy link
Member

原文の内容に誤りがある場合、修正してコメントを付記するか、訳注で説明するか、どちらがよいのでしょうか。

特に基準を設けてないので、個人的な意見となりますが、

  • 原文の間違いの場合は、修正して HTML コメントを付記
  • 原文の説明不足の場合は、訳注で補う

とするのがいいかと思います。

今回の2点(moving の説明と、 i に束縛したポインタでなくて、box の内容が heap に置かれる)については、 原文の間違いといえそうです。いまの @mandel59 さんのやりかた(前者)に賛成です。

事例

@tatsuya6502
Copy link
Member

レビュー OK ですので、マージします。(脚注や HTML コメントなどで数箇所、レンダリングがうまく行ってないところがあるのですが、修正・試行を何度かしないとダメそうなので、マージ後に私の方で修正します)

おつかれさまでした!

@tatsuya6502 tatsuya6502 merged commit 4308185 into rust-lang-ja:master Apr 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants