Stdlib family ffi
This family page is the encyclopedia entry for one stdlib area. It explains why the family exists, what responsibility belongs here, and which files make up the surface.
Overview
| Field | Value |
|---|---|
| Family | ffi |
| Module count | 2 |
| Purpose | ABI and foreign-function boundaries used when Vitte code must cross language or runtime edges. |
Architecture role
Use `ffi` only when the program really needs a foreign boundary. This family should make coupling visible instead of hiding it.
Main responsibilities
- Document ABI-facing assumptions clearly.
- Keep unsafe or foreign boundaries distinct from pure library logic.
- Support interop without blurring ownership lines.
Real usage story
- A system integration module can expose a narrow ABI-facing wrapper while the rest of the program stays pure.
- A runtime boundary should say exactly when the library stops and the foreign surface begins.