3 ms·
I largely agree with you. Food for thought -- can you describe to someone why using bytecode would be faster? V8 is pretty damn fast, would it really be made a
by endlessvoid94 14y ago
I largely agree with you.
Food for thought -- can you describe to someone why using bytecode would be faster? V8 is pretty damn fast, would it really be made any faster by using a bytecoded VM instead?
There are other reasons to use a bytecode VM besides performance, but the one with the code wins, in this case :-)
- mistercow 14y agoThe problem, as I see it, with a browser bytecode, is that bytecodes are generally tailored to a specific language. A bytecode designed for JS, for example, is not necessarily something you'll be able to implement Python or Ruby in particularly efficiently. With asm.js I'd be willing to bet that a general purpose bytecode would not let you run any of these languages more than, say, twice as fast as simply pushing the interpreter through emscripten.