Matt's avatar
Matt
codinginlondon@iris.to
npub16nd6...ftma
C++ engineer writing about things 🔋🔑
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.”
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. View article →
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 View article →
Does Primal handle markdown? ``` data = 42; ready.store(true, std::memory_order_release); ```
Reading “Beyond Democracy”… An alternative for France: instead of having a single elected government that changes every five years, we could have 18 stable governments, one for each region, each one with its own laws and its own taxes. Citizens would be free to choose which region they want to live in and which government they want to pay for. Competition between governments would improve the quality of the services provided to citizens. image