Slide 14
Slide 14 text
CompilerとMemory Model
● GoのMemory Modelに違反する
Requirement 1: The memory operations in each goroutine must correspond to a
correct sequential execution of that goroutine, given the values read from and
written to memory. That execution must be consistent with the sequenced before
relation, defined as the partial order requirements set out by the Go language
specification for Go's control flow constructs as well as the order of evaluation for
expressions.