Ubuntu TechHive
proposal.detail
Proposed

Rust as a C Library: Headers, `#[repr(C)]`, Versioned Symbols, and ABI Tests

A practical two-hour session on Rust as a C Library, focused on Headers, #[repr(C)], Versioned Symbols, and ABI Tests. The session treats Rust as a native component exposed through C-compatible boundaries, with attention to packaging, ownership, host-runtime tests, and failure handling.

Intermediate · 2 hours · August 29, 2026 · June 3, 2026

Description

section.description

A practical two-hour session on Rust as a C Library, focused on Headers, #[repr(C)], Versioned Symbols, and ABI Tests. The session treats Rust as a native component exposed through C-compatible boundaries, with attention to packaging, ownership, host-runtime tests, and failure handling.

Audience: entry-level and intermediate developers who want a practical engineering session, not a language tour.

Outcomes:

  • Explain the practical boundaries of Rust as a C Library
  • Apply Headers in a small working example
  • Apply #[repr(C)] in a small working example
  • Apply Versioned Symbols in a small working example

Format: two hours with a short framing walkthrough, a concrete example, discussion of tradeoffs, and a closing checklist for practice.

support.yml

member support

1 supporter

Community members who want this event to happen.

Support
Propose
proposal.yml

Proposal Details

Status
Proposed
Difficulty
Intermediate
Duration
2 hours
Target date
August 29, 2026
Created
June 3, 2026