Skip to content

Releases: mxreal64/libnanodispatch

libnanodispatch-v1.0.0

Choose a tag to compare

@mxreal64 mxreal64 released this 27 May 10:42
d27d92f

v1.0.0 - Production Baseline Launch

The official stable release of libnanodispatch, a hyper-optimized, lock-free, zero-allocation Multi-Producer Multi-Consumer (MPMC) event dispatcher utilizing native C++23 modules.

Technical Architecture Specifications

  • Sequence-Barrier Ring Buffer: Implements an advanced LMAX Disruptor-style ring architecture for ultra-high throughput event pipeline arbitration.
  • Bypassed Allocation Overhead: Uses a raw byte storage layout inside memory slots to skip default constructor allocations. Events are constructed lazily using fast placement new.
  • Cross-Platform Spin-Relax Primitives: Detects hardware target platforms at compile time to inject optimized CPU instructions (pause on x86_64, yield on AArch64), preserving power and hardware efficiency.
  • Strict Destructor Verification: Built-in deterministic loop cleanup utilizes std::destroy_at to systematically flush and destroy unconsumed elements upon dispatcher teardown, guaranteeing zero memory leaks.

Setup Requirements

  • Compiler: GCC 16.1+ or Clang equivalents.
  • Compilation Flags: -std=c++23 -fmodules-ts