EPISODE · Mar 31, 2026 · 10 MIN
Rust 128 メモリ構造 - スタックとヒープの所有モデル
from 聞き流しプログラミング言語学習 · host ますたーさん
第128章へようこそ。第127章で、型がメモリ上でどのような姿になるかを見ました。プリミティブ型のサイズ、アライメント、構造体のパディング、enumのタグとデータ。これらはすべて、サイズがコンパイル時に確定する型の話でした。第94章で学んだSized。コンパイル時にサイズが分かる型。今日のテーマは「メモリ構造」です。スタックとヒープの所有モデルを見ます。String、Vec、Box。これらの型は、スタックとヒープの両方にまたがって存在しています。コードの中にStringを見たとき、メモリの中には何があるのか。Vecを作ったとき、データはどこにあるのか。Boxで包んだとき、何が起きているのか。これらを見ていきます。
Embed this episode
NOW PLAYING
Rust 128 メモリ構造 - スタックとヒープの所有モデル
0:00
10:10
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 10 minutes long.
When was this 聞き流しプログラミング言語学習 episode published?
This episode was published on March 31, 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!