I am currently using statistical programming languages, such as R, for optimization processes. The problem is, R and the like can be deadly slow when it comes to for-loops and iterative processes. Is C++ the best language when it comes to speed and performing loops? In general, what is the best (fastest) programming language for performing heavy iterative calculations?