Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

opaque handle

A pointer the other side may pass around but never look inside.

An opaque handle is a pointer to a type the foreign side can't see the layout of; only the owning library's functions create, use, and free it.

Loading interactive…

Examples

  • Box::into_raw(Box::new(playlist)) hands C a *mut Playlist it can't look inside; C passes it back to a free function that calls Box::from_raw once.

Read the full section →