3 ms·
Java (and probably also C#) already has mature STM implementations. Here is one, but there are certainly others: https://sites.google.com/site/deucestm/ https:
by eslaught 12y ago
Java (and probably also C#) already has mature STM implementations. Here is one, but there are certainly others:
https://sites.google.com/site/deucestm/ https://sites.google.com/site/deucestm/
As noted in the other comments, you don't need STM for parallelism in Java and C# because they have access to native threads. But the programming model may still be nicer to use than the standard threads-with-shared-memory programming model.
- bkeroack 12y agoStandard CPython also has access to native threads. The Python threading module is just a thin wrapper over pthreads. The issue is that the GIL prevents threads from exploiting multiple cores.