Rust 056 FFI境界 - Rustでない世界と地続きになる episode artwork

EPISODE · Aug 1, 2026 · 11 MIN

Rust 056 FFI境界 - Rustでない世界と地続きになる

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

第56章へようこそ。今日のテーマは「FFI境界」です。第52章から前章までで、unsafeが解禁する操作を見てきました。生ポインタのデリファレンス、UnsafeCell、transmute。どれもunsafeだったが、扱っていたのはRustの中の値だった。生ポインタが指すのもRustが確保したメモリ、transmuteが読み替えるのもRustの型のビット列。規則の外側とはいえ、まだRustの世界の中にあった。今日からは、その外に出ます。境界の向こうに、別の言語で書かれた関数がある。Rustから、その関数を呼ぶ。あるいはRustの関数を、別の言語から呼ばせる。今日扱うのは、この言語をまたぐ境界が何と呼ばれるか、なぜ別の言語の関数を呼べて、その呼び出しがなぜunsafeになるのか、境界の向こうにRustの保証が届かないこと、そして両方向の境界を安全な抽象で包むこと、です。

Episode metadata supplied by the publisher feed · Published Aug 1, 2026

Embed this episode

NOW PLAYING

Rust 056 FFI境界 - Rustでない世界と地続きになる

0:00 11: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 11 minutes long.

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

This episode was published on August 1, 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!