Re:Java Memory Model Pragmatics
by pron on Monday July 14, 2014 @04:19PM
(#8032970)
Even a C compiler is allowed to reorder instructions. How is any compiler supposed to know if you prefer performance (and therefore reordering) or to to rely on a processor-specific feature? That's why any language that runs on more than one architecture needs to define a language-level memory model.
[ Parent
| on HN ]
There are no comments on this comment yet.