Pergunta de entrevista da empresa Apple

What is the difference between strong and weak memory models?

Resposta da entrevista

Sigiloso

9 de dez. de 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.