A Methodology for Fine- Grained Parallelism in JavaScript ...
A Methodology for Fine- Grained Parallelism in JavaScript ...
A Methodology for Fine- Grained Parallelism in JavaScript ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Why is <strong>JavaScript</strong> Slow<br />
it's not because <strong>JavaScript</strong> is <strong>in</strong>terpreted,<br />
- current <strong>JavaScript</strong> eng<strong>in</strong>es are JIT compilers<br />
- they per<strong>for</strong>m standard optimizations and code gen<br />
- they can generate good code<br />
it's because <strong>JavaScript</strong> is untyped,<br />
what does c = a + b mean <br />
if a = 1, b = 2 <br />
if a = "cat", b = "dog" <br />
Other reasons too:<br />
object creation, use of eval, sparse arrays, ...<br />
but these th<strong>in</strong>gs shouldn't be <strong>in</strong> hot loops anyway