Speaking only for R, most of the performance-critical functions included in packages these days are just wrappers to a C++ implementation. It isn't until you need to implement something custom that performance starts to be an issue.
That combined with it's ease-of-use working with tabular data, and the myriad of packages available make it a very popular choice.