Rust 137 メモリ上の仮想表 - ブイテーブルの構造 episode artwork

EPISODE · Apr 9, 2026 · 10 MIN

Rust 137 メモリ上の仮想表 - ブイテーブルの構造

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

第137章へようこそ。第136章で、enumとメモリの関係を見ました。判別子がバリアントを識別し、ニッチ最適化がビットパターンの隙間を活用する。型のメモリ表現が、コンパイラの知識によって最適化される姿でした。今日のテーマは「メモリ上の仮想表」です。vtableの構造を見ます。第129章で、トレイトオブジェクトのファットポインタを学びました。データへのポインタとvtableへのポインタ。合計16バイト。vtableとは仮想メソッドテーブルであると語りました。しかし、vtableの中身は見ていません。vtableはメモリ上でどのような形をしているのか。何が記録されていて、どうやって使われるのか。なぜこの構造が必要なのか。動的ディスパッチの心臓部を、バイトの粒度で見ていきます。

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

Embed this episode

NOW PLAYING

Rust 137 メモリ上の仮想表 - ブイテーブルの構造

0:00 10:28

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

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

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