Bewegte Bilder

Message-passing concurrency for Python

Sarah Mount - Message-passing concurrency for Python Concurrency and parallelism in Python are always hot topics. This talk will look the variety of forms of concurrency and parallelism. In particular this talk will give an overview of various forms of message-passing concurrency which have become popular in languages like Scala and Go. A Python library called python-csp which implements similar ideas in a Pythonic way will be introduced and we will look at how this style of programming can be used to avoid deadlocks, race hazards and "callback hell". ----- Early Python versions had a threading library to perform concurrency over operating system threads, Python version 2.6 introduced the multiprocessing library and Python 3.2 has introduced a futures library for asynchronous tasks. In addition to the modules in the standard library a number of packages such as gevent exist on PyPI to implement concurrency with "green threads". This talk will look the variety of forms of concurrency and parallelism. When are the different libraries useful and how does their performance compare? Why do programmers want to "remove the GIL" and why is it so hard to do? In particular this talk will give an overview of various forms of message-passing concurrency which have become popular in languages like Scala and Go. A Python library called python-csp which implements similar ideas in a Pythonic way will be introduced and we will look at how this style of programming can be used to avoid deadlocks, race hazards and "callback hell".

Location
Hannover TIB
Extent
65MB, 00:42:00:18 (unknown)
Language
Englisch
Notes
Audiovisuelles Material

Bibliographic citation
EuroPython 2014 ; Vol. 34, (Jan. 2014)

Keyword
EuroPython Conference
EuroPython 2014
EP 2014

Event
Veröffentlichung
(who)
EuroPython
(when)
2014-01-01
Contributor
Mount, Sarah

DOI
10.5446/20027
Last update
05.09.2026, 12:44 PM CEST

Data provider

This object is provided by:
Technische Informationsbibliothek (TIB). If you have any questions about the object, please contact the data provider.

Show object at data provider

Object type

  • zweidimensionales bewegtes Bild

Associated

  • Mount, Sarah
  • EuroPython

Time of origin

  • 2014-01-01

Other Objects (12)