
Deterministic matching engine with price-time priority and self-trade prevention. O(1) insert, cancel and modify via a pre-allocated pool of 1M orders and intrusive lists, with zero heap allocations while trading and bitset-based best bid/ask tracking.
End-to-end pipeline from UDP ingest and ITCH 5.0 parsing to order book and strategy simulator, with single-writer-per-symbol partitioning and a zero-allocation steady state. Deterministic CRC32-checked replay, failure injection and per-stage p50/p99/p99.9 latency histograms.
NASDAQ ITCH 5.0 parsed directly from mapped buffers into a cache-line-aligned SPSC ring. Reliable UDP with 64-bit sequence tracking, gap detection, NACK-based retransmission and batched sendmmsg/recvmmsg I/O.
Wait-free SPSC ring, MPSC queue, Vyukov MPMC queue and a Treiber stack with hazard-pointer reclamation, with documented memory ordering. A Disruptor with claim/wait strategies and consumer dependency graphs, plus a pub/sub bus with zero allocations in publish and poll.
Per-thread slab allocator with fixed size classes, an O(1)-reset arena and an STL-compatible interface. Open-addressing Robin Hood hash map with backward-shift deletion and AVX2/NEON SIMD probing.
More projects available on GitHub