Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: atomic Clear Filter

C++: Strongly Happens Before?

Strongly Happens Before? It started innocently enough. I just wanted to brush up on C++ memory orderings. It’s been a while since I last stared into the abyss of std::atomic , so I figured, why not revisit some good ol’ std::memory_order mayhem? Then I saw it. Strongly happens before. Wait, what? When did we get a stronger version of happens before? Turns out, it has been there for quite some time (since C++20 in fact), and it’s actually solving a very real problem in the memory model. If yo

Shared_ptr<T>: the (not always) atomic reference counted smart pointer (2019)

shared_ptr<T>: the (not always) atomic reference counted smart pointer Introduction This is a write-up of the “behavioral analysis” of shared_ptr<T> reference count in GNU’s libstdc++. This smart pointer is used to share references to the same underlaying pointer. The mechanism beneath works by tracking the amount of references through a reference count so the pointer gets freed only after the last reference is destructed. It is usually used in multi-threaded programs (in conjunction with oth

Topics: atomic mov ptr rax rbp

Life After the Atomic Blast, as Told by Hiroshima’s Survivors

THIS ARTICLE IS republished from The Conversation under a Creative Commons license. “I’m not sure if it was the effect of the atomic bomb, but I have always had a weak body, and when I was born, the doctor said I wouldn’t last more than three days.” These are the words of Kazumi Kuwahara, a third-generation hibakusha—a survivor of the atomic bombing of Hiroshima and Nagasaki in Japan 80 years ago. Kuwahara, who still lives in Hiroshima, was in London on May 6 this year to give a speech at a V

Atomic "Bomb" Ring from KiX, 1947 (2020)

Release date: 1947 | Where to purchase: eBay 1947 | “It’s a seething scientific sensation!” In 1947, General Mills’ KiX cereal brand offered the Atomic “Bomb” Ring as a premium in exchange for 15 cents plus a cereal box top. Also known as the Lone Ranger Atomic Bomb Ring, it was a reflection of the public’s preoccupation with the power and potential of atomic energy at the time. The ring had an adjustable gold-coloured band with lightning-blast explosions on its sides. An aluminum warhead was

Atomic "Bomb" Ring from KiX (1947)

Release date: 1947 | Where to purchase: eBay 1947 | “It’s a seething scientific sensation!” In 1947, General Mills’ KiX cereal brand offered the Atomic “Bomb” Ring as a premium in exchange for 15 cents plus a cereal box top. Also known as the Lone Ranger Atomic Bomb Ring, it was a reflection of the public’s preoccupation with the power and potential of atomic energy at the time. The ring had an adjustable gold-coloured band with lightning-blast explosions on its sides. An aluminum warhead was