Javascript does things none of the languages above do. Its flexibility is an amazing asset to have. Its tools put native land to absolute and utter shame. Its community is the biggest on earth and it’s quite something to be able to find just about everything.
Where there’s smoke, there’s fire.
Paul Henschel

JavaScript is not the only amazingly flexible language. So is Smalltalk, a language I advocate for. You can find Smalltalk used effectively in nearly every application domain except systems programming. Its built-in IDE/runtime environment is astonishingly beautiful and powerful, making Smalltalk one of the most productive programming languages in the world (more than 3X as productive as JavaScript!).

Then there’s Python, which is every bit as flexible as JavaScript. Python is used nearly everywhere, too. Its user community is vast and so is its ecosystem.

I can also say the same things about Java. Moreover, the Java runtime, called JVM, is much faster than JavaScript’s V8.

And here’s an inconvenient truth: While JavaScript has indeed found its way to other application domains, outside of web development, JavaScript does not fare that well. It has to compete against well-established, incumbent languages, like:

  • Java (for Android) and Swift (for iOS)
  • C# (Unity) and C++ in the game space
  • Java (JavaFX) and C++ (Qt) in the desktop space
  • Java, Python, C#, PHP, Ruby, Go, Erlang/Elixir in the server space
  • C, Python, Java in the IoT space
  • Python and R in the areas of data science and machine learning

I could go on and on. JavaScript is largely ignored outside of web development. Even Node.js faces a huge challenge from Go: see The Fall of the House of Node. I believe Go will eventually displace Node in the future.

No offence, but what is it that you think you know?