Pregunta de entrevista de Apple

What is the difference between strong and weak memory models?

Respuesta de la entrevista

Anónimo

9 dic 2019

A strong memory model has no instruction reordering while a weak memory model may reorder instructions to improve performance. A weak memory model should not reorder instructions that work on the same memory location.