Why is it so hard for browsers to implement a common set of byte-code. Then we all get what we want and it would make it much simpler to port your favorite language to the browser. This compile to javascript trend seems so brittle and frail.
Why is compile to JavaScript any different than compile to byte code? Is the "frail" comment from experience or intuition?
- The only number representation available is floating point.
- Concurrency is impossible except for the nearly useless web workers API; this prevents a language author from exposing any other type of concurrency mechanism.
- Anyone wishing to implement the "byte code" specification must implement or integrate a full Javascript parser and runtime.