Wednesday, April 26, 2017
After my experience integrating the recorder in Spice and BTRFS progs, I noticed a common pattern with C program, which is that it is annoying to have dependencies on C++, and even more so to have dependencies on C++11.
So I did a rather massive rewrite of the recorder to make the C version easier to integrate in C-only project, i.e. remove the dependency to C++ and, worse yet, C++11 (that proved a bit diffcult to put in the Spice autoconf scripts).
I attempted to preserve backward compatibility to a large extent, but the new implementation is now entirely done with C macros instead of "beautiful" C++ template using the new and shiny (C++11) <atomic> header.
The C++ version is now a mere wrapper around the C implementation. That solves some consistency issues for programs that are using both C and C++ recorders. Now, the two should be unified, with the same order.