News for hackers. Stuff that matters.
Re:NanoLog – a nanosecond scale logging system for C++ by dclusin on Thursday September 05, 2019 @12:35AM (#20883852)
You can leverage the cpu's atomic operations such as compare and set, compare and swap, as well as the properties of the memory subsystem to achieve thread safety without an operating system mediating the interaction. Here's a blog post from some people that have street cred to give you some idea of the potential performance benefits: https://mechanical-sympathy.blogspot.com/2013/08/lock-based-...

There are no comments on this comment yet.