logoalt Hacker News

cogman10 • today at 1:12 AM • 1 reply • view on HN

C++11 borrowed heavily from the Java memory model that came before it.

It's basically everyone learning from everyone else on what works and what doesn't work.


Replies

plorkyeran • today at 4:15 AM

Java deserve a lot of the credit for the happens-before concept that is the foundation of both its memory model and C++'s, but it can't express relaxed access and figuring out how to fit that in was a really big deal.