Using All These Cores: Transactional Memory under the hood (PyPy)
- Track: Python devroom
- Room: K.3.201
- Day: Sunday
- Start: 15:00
- End: 15:30
A picture of how the future of multi-threaded programming might looks like, for high-level languages like Python.
PyPy, the Python implementation written in Python, has grown an experimental branch playing with Transactional Memory (TM). The strength of TM is to enable a novel use of multithreading, inheritently safe, but not limited to special use cases like other approaches. We have played with a lot of variants of STM (Software-only) in PyPy, and based on this experience I can give the strong points of the currently pursued variant. In particular it should have overheads much smaller than the typical "2x", and it would be possible to expand it to Hybrid TM (using the hardware support in recent Intel CPUs).
Speakers
Armin Rigo |