Rust 005 クロージャ - 環境を捕獲する関数 episode artwork

EPISODE · Apr 17, 2026 · 16 MIN

Rust 005 クロージャ - 環境を捕獲する関数

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

第5章へようこそ。今日のテーマは「クロージャ」です。第4章のイテレータで、mapやfilterに小さな関数を渡しました。あの小さな関数の正体がクロージャです。クロージャと普通の関数の違いは1つです。クロージャは、自分が定義された場所の周囲にある変数を捕まえて、自分の中で使える。関数にはこれができない。この「周囲の変数を捕まえる」という一点が、クロージャの性質のすべてを決めます。捕獲は所有権の仕組みと直接噛み合うため、Rustのクロージャは型の表現が細かく分かれている。今日はその内部構造まで踏み込みます。

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

Embed this episode

NOW PLAYING

Rust 005 クロージャ - 環境を捕獲する関数

0:00 16:41

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 16 minutes long.

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

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