Rust 132 メモリ配分 - アロケータの仕組み episode artwork

EPISODE · Apr 4, 2026 · 7 MIN

Rust 132 メモリ配分 - アロケータの仕組み

from 聞き流しプログラミング言語学習 · host ますたーさん

第132章へようこそ。第131章で、メモリの一生を追いました。スタック上の値は、スコープを抜けるときにスタックポインタの巻き戻しで消える。ヒープ上のあたいは、スコープを抜けるときにDropを通じてアロケータに返される。ヒープの確保と解放のとき、「アロケータ」という言葉が登場しました。今日のテーマは「メモリ配分」です。アロケータの仕組みを見ます。Vecに要素を追加するとき、ヒープ上にメモリが確保される。Stringが成長するとき、より大きなヒープ領域が確保される。Boxを作るとき、ヒープに値の分のメモリが確保される。この「確保」を行っているのが、アロケータです。アロケータとは何か。何をしているのか。なぜその存在を知る必要があるのか。

Episode metadata supplied by the publisher feed · Published Apr 4, 2026

Embed this episode

NOW PLAYING

Rust 132 メモリ配分 - アロケータの仕組み

0:00 7:44

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of 聞き流しプログラミング言語学習?

This episode is 7 minutes long.

When was this 聞き流しプログラミング言語学習 episode published?

This episode was published on April 4, 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!