News for hackers. Stuff that matters.
Re:The memory models that underlie programming languages (2016) by secondcoming on Thursday June 10, 2021 @03:52AM (#27458098)
> But we mostly have one memory model today - one big flat memory space, because C.

This is not what is meant by 'memory model'. What is really specifies is how memory operations can ordered and when a write made by one thread is seen by another, acquire, release, relaxed etc.

For example: https://en.cppreference.com/w/cpp/atomic/memory_order

Re:The memory models that underlie programming languages (2016) by secondcoming on Thursday June 10, 2021 @06:00AM (#27458922)
Downvoted. Unbelievable. Here's the Java Memory Model: https://en.wikipedia.org/wiki/Java_memory_model