Slide 4
Slide 4 text
Memory – Private vs Shared
4
©2017 DriveScale Inc. All Rights Reserved.
§ Reasoning about memory is easy when the memory is private to a
thread
§ Memory shared between threads, even in a single piece of code,
becomes notoriously difficult to deal with – races, etc.
§ The bane of Java and C++ developers
§ Erlang and Go show the way – message based concurrency
§ At the HW level, shared memory requires coherency protocols which
can introduce extraordinary performance delays – even between cores
on the same chip