This is an automated archive made by the Lemmit Bot.

The original was posted on /r/rust by /u/capitanturkiye on 2025-12-21 15:17:31+00:00.


I released open-source version of Lunyn ITCH parser which is a high-performance parser for NASDAQ TotalView ITCH market data that pushes Rust’s low-level capabilities. It is designed to have minimal latency with 100M+ messages/sec throughput through careful optimizations such as:

  • Zero-copy parsing with safe ZeroCopyMessage API wrapping unsafe operations

  • SIMD paths (AVX2/AVX512) with runtime CPU detection and scalar fallbacks

  • Lock-free concurrency with multiple strategies including adaptive batching, work-stealing, and SPSC queues

  • Memory-mapped I/O for efficient file access

  • Comprehensive benchmarking with multiple parsing modes

Especially interested in:

  • Review of unsafe abstractions

  • SIMD edge case handling

  • Benchmarking methodology improvements

  • Concurrency patterns

Licensed AGPL-v3. PRs and issues welcome.

Repo: https://github.com/lunyn-hft/lunary