Chapter 6. Multithreaded Patterns
SharedArrayBuffer is to store a raw, binary representation of data. Even Chapter 5 continued this pattern with the
Atomics object, exposing rather primitive methods for coordinating or modifying a handful of bytes at a time.
Just looking at such abstract and low level APIs can make it difficult to see the big picture, or what these APIs can really be used for. It’s admittedly difficult to take these concepts and convert them into something that is genuinely useful for an application. That’s what this chapter is for.