C++ nugget: HFT firms do not use virtual machines, they prefer the predictability of actual hardware. Here is a problem seen on actual hardware and not so much on VMs: a machine may have more than one CPU socket. Each CPU socket has its own DRAM. How to tell whether the hot-path thread is talking to the local memory unit and not to the remote one? Answer: Linux allows you to pin a thread to a specific core and restrict heap allocation to the local node.
Meanwhile in Egypt…
Ever since I started retraining at modern C++, my gf suspects I have an std::
C++ nugget: The C++ compiler assumes that if two pointers have different types, they must have different addresses. This is not always true: in HFT you often pre-allocate memory then create/destroy objects with placement new. To avoid subtle bugs: std::launder
Looks like it does not.
Does Primal handle markdown? ``` data = 42; ready.store(true, std::memory_order_release); ```
I remember watching ‘The Fifth Estate’ in 2014. It painted Assange in a rather bad light (not so nice considering the real Assange was still trying to avoid extradition to Sweden and potentially the US at the time). I’ve always wondered whether the position the movie took made it easier to fund and distribute. 🤨
Richard got really good at spelling out nuanced concepts clearly. "Bitcoin n'est pas un investissement par nature. Il se comporte comme un investissement par phase historique. Sa performance n'est pas son objectif, c'est le symptôme de son adoption progressive comme standard monétaire. Autrement dit, ce n'est pas un investissement qui pourrait devenir une monnaie. C'est une monnaie en devenir qui temporairement se comporte comme un investissement.” https://youtu.be/FV4ZYKcWvk0?&t=991
An overview of modern C++ features, picking 5 from each C++ version. https://github.com/CodingInLondon/cpp-katas/blob/main/cpp-top-features.md
Welcome to CodingInLondon spacestr profile!
About Me
C++ engineer writing about things 🔋🔑
Interests
- No interests listed.