in which there are mulJple threads of control A parallel program is one that uses a mul5plicity of computa5onal hardware (e.g. mulJple processor cores) Structure Execu5on Dealing with lots of things at once Doing lots of things at once
thread while waiJng for the result of the future. • Callbacks: – Register callback which is invoked asynchronously when future is completed – Async computa5ons do not block
relaJonship between futures and promises • Simon Marlow and Rob Pike, for their material on concurrency and parallelism • Josh Suereth, for his Github example (InspiraJon for our facebook example) • Scala, Play, and Akka teams for all their amazing work