On 5 April 2011 21:29, Aryeh Gregor Simetrical+wikilist@gmail.com wrote:
To the contrary, I'd expect JavaScript in the most recent version of any browser (even IE) to be *much* faster than PHP, maybe ten times faster on real-world tasks. All browsers now use JIT compilation for JavaScript, and have been competing intensively on raw JavaScript speed for the last three years or so. There are no drop-in alternative PHP implementations, so PHP is happy sticking with a ridiculously slow interpreter forever.
So if we machine-translate the parser into JS, we can get the user to do the work and everyone wins! [*]
(Magnus, did you do something like this for WYSIFTW?)
- d.
[*] if they're using a recent browser on a recent computer, etc etc, ymmv.