sneilan / stock-exchange

Personal stock exchange on your laptop!
Other
12 stars 4 forks source link

Refactor ring buffer / mmap constructor placement #3

Closed sneilan closed 7 months ago

sneilan commented 8 months ago

I want all ring buffers, mmap blocks instantiated as close to main.cpp as possible. This way main.cpp becomes a diagram of information flow throughout the exchange. By reading a single file main.cpp, a reader should be able to see and understand how every component fits together without having to read any other files.

This will make it much easier to create market data.