A simple single machine map reduce engine for C++