Anyway, a simple version of JS or more like bytecode. Then developers can pick whichever language they want. Because these type annotations do not benefit execution, only development.
Anyway, a simple version of JS or more like bytecode. Then developers can pick whichever language they want. Because these type annotations do not benefit execution, only development.
There is also a proposal for directly shipping ASTs instead of JavaScript source files for performance improvements [0].
Well this is why TypeScript was invented in the first place. Not to mention that "static-only" type annotations are being adopted in Python and Ruby as well. Clearly a lot of developers see a lot of value in them.
You probably mean asm.js
If you want a strongly-typed static language, compile to a wasm target with typescript, or another language... That's what it there for.
I'd rather have a proper type-less functional language and it's impossible to create that from JS with its legacy baggage.