Having a decent idea of how a language / framework works would make a big difference a lot of the time. I have seen a lot where joins are essentially done at the application level in loops in the relatively slow language.
That's an indication of poor programming skills rather than programming language being "slow".