4 ms·
> STM is about parallelism of your computations, not about concurrency (or any kind of IO). I'm sorry, what? STM is entirely a concurrency construct. You would
by thirsteh 13y ago
> STM is about parallelism of your computations, not about concurrency (or any kind of IO).
I'm sorry, what? STM is entirely a concurrency construct. You wouldn't need it if you didn't have concurrency... The whole idea is that access to shared memory happens through database-like transactions.
- k_bx 13y agoYes, I was wrong. What I was referring to is that STM is "pure" concurrency, while gevent is for IO concurrency, and that you don't do any IO inside STM.