In principle, it could eventually allow some Javascript programs to run *faster* than compiled code, because trace optimization can accomplish some speedups that compilers can't.
So why not include trace optimization into some sort of re-compiler? I could guess that's the idea behind JIT compilers, which seem like they're out of vogue currently. I'm afraid I'm out of touch with this stuff and don't really understand why the above might be infeasible.
(no subject)
Date: 2008-08-25 04:05 pm (UTC)So why not include trace optimization into some sort of re-compiler? I could guess that's the idea behind JIT compilers, which seem like they're out of vogue currently. I'm afraid I'm out of touch with this stuff and don't really understand why the above might be infeasible.