Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Very interesting, I am hardly an expert, but this gives the impression that if only without that meddling software we will all live in a synchronous world.

This ignores store buffers and consequently memory fencing which is the basis for the nightmarish std::memory_order, the worst api documentation you will ever meet



If the committee had any good taste at all they would have thrown DEC AXP overboard before C++11, which would have cut the majority of the words out of the specification for std::memory_order. It was only the obsolete and quite impossible to program Alpha CPU that requires the ultimate level of complexity.


If Alpha never existed, memory_order_consume would still exist. But we have done this discussion before.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: