I wasn't suggesting any proprietary APIs or libraries - only that we get to use the /language/ of our choice.
Also I'm not talking about 'functionality [...] from other technology stacks' - I'm talking about getting to choose the programming language.
To current client code, everything would function exactly as before. It's just that you would be able to write new code in any language that can compile to the bytecode the VM understands.
The set of languages available through Emscripten doesn't compile most popular languages. If it did, it would likely fulfil what I'm hoping for, but I'd still be interested in whether it's the best option to compile to a subset of JS in order to run on a VM designed for JS.
I'd prefer the JVM/CLR-Stacks fading away alltogether. An exhaustive Toolchain like Java has + a fairly superior IDE like Visual Studio, both targeted especially for the JS-Stack, and everyone wins.
If there is enough desire, every possible language can be ported over to the JS-stack. For me it's contra-productive to have too much languages to choose from.
> I'd prefer the JVM/CLR-Stacks fading away alltogether. An exhaustive Toolchain like Java has + a fairly superior IDE like Visual Studio, both targeted especially for the JS-Stack, and everyone wins.
How does everyone win by having everything on a stack that is inherently slower and has terrible support for concurrency?
> If there is enough desire, every possible language can be ported over to the JS-stack. For me it's contra-productive to have too much languages to choose from.
Having everything compile to JavaScript doesn't mean there will be fewer languages. It just means that implementing the languages and debugging your code will be significantly more awkward.
Also I'm not talking about 'functionality [...] from other technology stacks' - I'm talking about getting to choose the programming language.
To current client code, everything would function exactly as before. It's just that you would be able to write new code in any language that can compile to the bytecode the VM understands.
The set of languages available through Emscripten doesn't compile most popular languages. If it did, it would likely fulfil what I'm hoping for, but I'd still be interested in whether it's the best option to compile to a subset of JS in order to run on a VM designed for JS.