4 ms·
If I may (and correctly understand what is going inside Fil-C), it would be not so hard to add support for software transactional memory by adding some library
by thesz 6mo ago
If I may (and correctly understand what is going inside Fil-C), it would be not so hard to add support for software transactional memory by adding some library calls.
This will greatly reduce coordination bugs in parallel programs and may even speed things up.
- pizlonator 6mo agoIt would be hard for the same reason it’s always been hard: - STM interacts badly with any interesting effects (like IO) - STM interacts badly with locks (C and C++ use locks implicitly, because they’re in libc and libc++) - STM performs badly - STM is harder to use than locks