&gt; Eventually a C# that compiles to JavaScript?<p>That actually existed internally at MS, along with many other projects to improve developing large JS codebases, most of which have fallen by the wayside.  There was even a Flow-like compiler that worked with type annotations in comments.  TypeScript has won out, although there is a LOT of code written in these other projects.