Ubuntu TechHive
proposal.detail
Proposed

Zig as a Python Extension Backend: `export fn`, ctypes, cffi, and CPython Boundary Design

A practical two-hour session on Zig as a Python Extension Backend, focused on export fn, ctypes, cffi, and CPython Boundary Design. The session treats Zig as a native component exposed through C-compatible boundaries, with attention to exported symbols, allocators, packaging, host-runtime tests, and failure handling.

Intermediate · 2 hours · June 18, 2026 · June 3, 2026

Description

section.description

A practical two-hour session on Zig as a Python Extension Backend, focused on export fn, ctypes, cffi, and CPython Boundary Design. The session treats Zig as a native component exposed through C-compatible boundaries, with attention to exported symbols, allocators, packaging, 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 Zig as a Python Extension Backend
  • Apply export fn in a small working example
  • Apply ctypes in a small working example
  • Apply cffi 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
June 18, 2026
Created
June 3, 2026