Expand description
Low-latency inter-process communication library.
This crate provides high-performance primitives for IPC using shared memory and lock-free data structures. Designed for latency-critical applications such as trading systems and real-time processing.
§Modules
shm- Shared memory region managementsync- Synchronization primitives (spinlocks, barriers, fences)lf- Lock-free data structures (queues, stacks)buf- Ring buffer implementationschan- Channel abstraction for message passing
§Example
use lowlet::channel;
let (tx, rx) = channel::<u64, 1024>();
tx.send(42).unwrap();
let value = rx.recv().unwrap();§Safety
This crate uses inline assembly for x86_64 atomics and direct system calls
for shared memory. All unsafe code is carefully reviewed for correctness.
Re-exports§
pub use chan::channel;pub use chan::Receiver;pub use chan::Sender;pub use err::Error;pub use err::Result;pub use shm::Region;