3 ms·
Why is compile to JavaScript any different than compile to byte code? Is the "frail" comment from experience or intuition?
by ohhmaagawd 13y ago
Why is compile to JavaScript any different than compile to byte code? Is the "frail" comment from experience or intuition?
- teacup50 13y agoYou'd think this would be obvious. It's an inefficient and poorly designed "bytecode": - 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.
- RussianCow 13y agoOn top of that, you have no control over memory management (which makes properly implementing lots of languages impossible).