I’m happy to announce that the kcas library has received major updates.
What is kcas?
kcas provides an implementation of atomic lock-free multi-word
compare-and-swap (MCAS), which is a powerful tool for designing concurrent
algorithms.
First, kcas now uses a new lock-free algorithm that improves performance of kcas significantly over the previously used algorithm. The new algorithm is provided in kcas version 0.1.8 with an API compatible with previous versions of kcas.
Second, the latest version of kcas, 0.2.0, went through a major API redesign. The same functionality as can be found in previous versions is now available through cleaned-up modules. Additionally, the latest library offers a new transactional API, essentially a basic form of STM or Software Transactional Memory, that can make it significantly easier to program lock-free algorithms.
Third, documentation has also been overhauled and there is now both an introduction to the use of the library as well as a reference manual.
So, click here, check out the new documentation, the new transactional API, and enjoy the performance!
Last, there is still more to come. There are plans to extend the range of the library further via a brand-new algorithm and extended support for transactions.