Hardware Mapreduce variant c++ emulator