0+0 > 0: C++ thread-local storage performance (yosefk.com)
from tedu@inks.tedunangst.com to inks@inks.tedunangst.com on 17 Feb 21:29
https://inks.tedunangst.com/l/5180

We’ll discuss how to make sure that your access to TLS (thread-local storage) is fast. If you’re interested strictly in TLS performance guidelines and don’t care about the details, skip right to the end — but be aware that you’ll be missing out on assembly listings of profound emotional depth, which can shake even a cynical, battle-hardened programmer. If you don’t want to miss out on that — and who would?! — read on, and you shall learn the computer-scientific insight behind the intriguing inequality 0+0 > 0.

#compiler #concurrency #cxx #library #perf #programming

#compiler #concurrency #cxx #inks #library #perf #programming

threaded - newest