EPISODE · Apr 11, 2026 · 9 MIN
Rust 139 メモリ境界 - asyncと所有権が交差するとき
from 聞き流しプログラミング言語学習 · host ますたーさん
第139章へようこそ。第138章で、async関数がenumに変換されることを見ました。中断のたびに判別子とデータが書き換わり、再開のたびに読み出される。Futureの状態はヒープ上のenumに保持される。今日のテーマは「メモリ境界」です。そのenumの中に何を入れられるか、という問いに向き合います。async関数の中で使う変数は、awaitをまたげばenumのフィールドになる。しかし、すべての値がenumに入れるわけではない。タスクの境界を越える値には条件がある。その条件は、第134章で学んだSendとSyncに直結している。並行性の次元と時間の次元が、ここで交差します。
Embed this episode
NOW PLAYING
Rust 139 メモリ境界 - asyncと所有権が交差するとき
0:00
9:38
1×
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.
Frequently Asked Questions
How long is this episode of 聞き流しプログラミング言語学習?
This episode is 9 minutes long.
When was this 聞き流しプログラミング言語学習 episode published?
This episode was published on April 11, 2026.
Can I download this 聞き流しプログラミング言語学習 episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!