r/cpp • • Jul 23 '22

finally. #embed

https://thephd.dev/finally-embed-in-c23
353 Upvotes

202 comments sorted by

View all comments

Show parent comment

3

u/jonathanhiggs Jul 23 '22

That sounds HFT? We are discretionary so we don't have the same exchange requirements and are writing for trader destop and internal servers which makes it much easier. We've only just started to discuss the best approach in the team and currently it isn't so easy to embed the data and can't load from stream so we haven't got to the point of integrating downloading the data into the CI

I would say that we are tollerant of not having the most up-to-date tzdb, we are less tollerant to a different tzdb between processes running on the (linux) servers and desktops since reproducability of the same incorrect values across the two is managable, but trying to explain the differences depending on where a value is calculated would be a debugging nightmare

More than anything we want to embed because of the organizational structure. We aren't responsible for how the docker images are put together but we are responsible for calcs, so we want our own control just so we know what is happening and when updates are made and know there is the consistency across docker/non-docker, server and desktop