I honestly can't imagine using a compiled language when a scripting language is enough for the task.
The old compiled vs scripted fallacy... What if the compiled version of your "script" compiles under 100ms? But it gives you type safety, 50-1000x times the execution speed, and a better designed language overall? If it's not a LISP so you can play with the code freely at runtime, while it's running, probably your scripted language is shit.
Not a hypothetical example; Nim has largely replaced Python for me for small scripts, I can't tolerate that hack of a language anymore. The only value I still see in Python as a tool is the vast, vast amount of useful libraries written for it, and only for that reason when I need a specific library to hack something quickly together I still reach for it.
Btw, Porky's summary is highly debatable, sounds like it's coming from someone who hasn't used high-level languages in a professional capacity and is out of touch with current trends. For the record, I've learned assembly and C/C++ as a kid, then used C/C++, Python, JavaScript, TypeScript, PHP, Ruby, Java, C#, Scala and Kotlin professionally in the last 20 years, and the "suckiness" of Java is grossly overplayed by people who don't quite get its benefits; it's basically an uninformed meme at this point.
JavaScript is rubbish, but very few people still use it directly for anything substantial. E.g. at work the frontend guys use TypeScript, which is a much nicer core language and it transpiles to JavaScript.
But then, who cares about "popularity"? It's like asking what is the most popular movie or book or game genre. Action movies, romance novels, and hidden-object mobile games. Huh, so what? Means nothing if you're a spy movie and adventure game fan and like reading classic literature. In the real world, you won't pick a language based on popularity alone, you pick a niche/industry first, *then* you learn whatever is needed in that industry to do the job well. The most popular languages *per industry* vary wildly.