@Suiseiseki I mean, the JS program isn't even that small and the Pi is effectively equivalent to a PC from around the early 2000's.
Even at peaks, it barely gets above 5% usage on its CPU (memory usage sits around 70MB including the entire OS).
And yes, most JS you find on *websites* is overly bloated.
But that's not the fault of JS.
I personally think it's unfair to label JS (the language) as "a big evil" because devs tend to make scuffed choices.
JS itself can be quite lean and mean (altho it's indeed nowhere near as fast as a compiled language).
I mostly use Deno because JS is my go-to language.
I could learn Perl (altho I already can write some Nim) but I'd need to re-learn a lot for what is effectively very little gains where it matters for me.
It's a balancing act between raw efficiency and "ease of use".