Repository navigation
MachIPC Release Notes
Version 0.1.0 - Initial Release
What's New
Initial release of MachIPC, a high-performance Swift library for Mach-based Inter-Process Communication on Darwin systems.
Key Features:
- Type-safe messaging with
MachPayloadProviderandMachMessageConvertibleprotocols - Automatic local/remote communication routing
- Zero-copy optimization for in-process messaging
- High-performance mode (auto-switches at >200k msg/s)
- Configurable thread priority and buffer sizes
- Built-in support for
Data,String, and allCodabletypes
Performance:
- Up to 1,000,000 messages/second on a single core
- ~1 μs latency for remote messages
- ~2.5 μs latency for local messages
- At least 2x faster than XPC
Testing:
- Comprehensive test suite (unit, throughput, benchmarks)
- Benchmarks include 10MB message performance tests
Requirements
- Swift 5.4+
- macOS, iOS, or other Darwin-based systems
Installation
dependencies: [
.package(url: "https://github.com/MaximKotliar/MachIPC", branch: "master")
]⚠️ Important Notes
- No encryption: Messages are not encrypted. Do not use for sensitive data.
- Work in progress: API may change in future releases.
See README.md for full documentation and usage examples.