Philly ETE 2015 – Paul Butcher – Concurrency: It’s Harder (and Easier) Than You Think

by
Tags: , , ,
Category:

Download (PDF, 4.31MB)

Abstract:

Writing multithreaded code is hard—even harder than most people realize. The good news is that there are other approaches, such as Functional Programming, Communicating Sequential Processes, Actors, and so on, which make it much easier.

This talk will start by looking at some of the less well-understood problems with multi-threaded programming. Everyone knows about deadlock and livelock, but do you know what the memory model says about concurrent code, and why that makes it even harder to write than you thought?

We’ll then move on to look at the alternatives, and see why they avoid these problems. We’ll concentrate on Actors, and see how they not only solve the problems with Threads and Locks, but also make your code clearer and more robust.

About Paul:

Paul is an author and technology startup veteran, currently providing consultancy for founders and investors. His most recent book is Seven Concurrency Models in Seven Weeks: When Threads Unravel.