HNHacker News
TopNewBestAskShowJobs

ndanilov

59 karma · joined October 25, 2015

submissionscomments
ndanilov··on C++: Zero-cost static initialization
Author here. This is part of SPDK-based server code. Transportability outside of UNIX (mostly Linux) is entirely irrelevant. By the way, the global variables here are immutable after the initialisation, that's the point.
ndanilov··on [dead]
How to avoid memory barrier and synchronisation for dynamic initialisation of block-level static objects in C++.