3 ms·
Some language features do preclude some optimizations. For example, once you have dynamic typing you'll typically need a butt load of engineering effort to gene
by nly 13y ago
Some language features do preclude some optimizations. For example, once you have dynamic typing you'll typically need a butt load of engineering effort to generate the fastest possible numerical computation.
Now that people seem to want to do everything from crypto to image processing in Javascript, projects like JägerMonkey, v8 (method JITs) and asm.js have cropped up that show this is still an unsolved problem in many respects. One could easily make the case that Javascript is, in fact, becoming less and less suitable for the web.
- pjmlp 13y ago> Some language features do preclude some optimizations True, that is why I mentioned the aliasing problem, but that doesn't forbid a specific type implementation. > Now that people seem to want to do everything from crypto to image processing in Javascript, projects like JägerMonkey, v8 (method JITs) and asm.js have cropped up that show this is still an unsolved problem in many respects. The funny thing is that advanced JIT engines like Hotspot were actually developed for dynamic languages (Self). The good thing about JIT research for JavaScript is that it helps advancing the status of compilers for dynamic languages, even for AOT compilation scenarios I would say.