Discussion:
[e-lang] Pessimistic STM
Sandro Magi
2013-02-19 06:24:41 UTC
Permalink
This paper may interest those who follow E and other event loop systems.
Some recent results in the STM world indicate that single-threaded
pessimistic STM is competitive with optimistic STMs due to the lower
incidence of aborts and reduced thread sync required:

http://transact2012.cse.lehigh.edu/papers/matveev.pdf

Event loops are similarly single threaded due to the possibility of
writes. A language that tracks side-effects could implement an E-style
event loop and execute all enqueued read-only messages in parallel.

Sandro
Raoul Duke
2013-02-20 00:26:14 UTC
Permalink
Post by Sandro Magi
This paper may interest those who follow E and other event loop systems.
makes me think of node.js

Loading...