Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Interop

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Scope

This area defines how Beskid programs interact with foreign code and with the Rust-hosted runtime that implements execution services.

v0.3 FFI (spec-first, Standard in platform-spec) covers user interop and layout only. The runtime ABI (BESKID_RUNTIME_ABI_VERSION, builtin exports) stays on the Rust ABI profile and is not versioned with user FFI layout bands.

FeatureRole
Interop.ContractsSymbols, call shapes, ownership, callbacks, conformance
FFI and externExtern import syntax and attributes
Export and callbacks[Export] and host callback registration
C ABI profileLink-time linking, interop views, tier-1 platforms
Rust ABI profileEmbedding runtime exports (unchanged scope)
Foreign library importproject.link + CLI import lib + ExternalLibrary trait

Delivery bands: v0.3.0 — interop views + link-time + export/callbacks (spec). v0.3.1 — CLayout primitive structs (Proposed). Complex nested FFI types after basic FFI is in place.

Execution chapters under /platform-spec/execution/ document lowering and drivers; they pair with this area but do not replace normative language rules here.

Feature index

Use the tiles below for normative feature contracts in this area.

Features