Going beyond JavaScript
If you want to target browsers or Node.js, JavaScript is the only language natively supported by these environments. This is different to VM-based environments like the .NET runtime and the JVM, which support multiple languages.
The .NET runtime supports C#, F#, VB.NET, and others. The JVM supports Java, Scala, Clojure, and others. These languages work by compiling down to an assembly language for the environment's VM. This is the Common Intermediate Language in .NET or Java bytecode in the case of the JVM.
There is a reason why programmers don't all write CIL or Java bytecode though. These are low-level machine languages and much less human-friendly than C#, Java, and so on. In general, higher-level languages can support ...
Get Learning Node.js for .NET Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.