Optimize Code for Highly Parallel Applications