Accelerating code on multi-cores with FastFlow