They would all probably put the same strain on the server.
What causes the strain is what they have to do, Not what they are written in.
Everytime someone goes to a site the server has to download the entire page with images, Then send it to the person browsing. This is why the majority of webhosts ban them.