Published May 9, 2026 | Version 1.0-bilingual
Preprint Open

Embedded Dylib: A Distribution-Ready Pattern for Pure-Go Bindings to Native macOS Frameworks

Authors/Creators

Description

Zero cgo, universal binary, go get and run - purego + //go:embed + a synchronous Objective-C shim. Two production libraries shipped in 13 hours; 81 tests, 0 lint warnings. A template for reclaiming Go's macOS Layer 1.

Note (2026-05-09): This version bundles English + 中文 in a single PDF (English first, then Chinese), generated directly from the canonical Markdown source files.

Files

embedded-dylib.pdf

Files (1.4 MB)

Name Size Download all
md5:ccbe2b56827551cb33aa385183994bf9
1.4 MB Preview Download

Additional details

Related works

Is supplemented by
Software: https://github.com/LocalKinAI/sckit-go (URL)