@Suiseiseki wdym "makes any computer work hard"?
It barely puts any stress on a Raspberry Pi 1A...
If suddenly your "billion bytes of RAM and billion Hz CPU" starts struggling with it, something else is horribly wrong and it's not JS itself...
Sure, it's not the most resource efficient language there is but it's certainly not the "heavy pile of garbage" you make it out to be.