3 ms·
That doesn't contradict my statement at all. The problems you speak of are due to the browser runtime, not JavaScript.
by colordrops 6y ago
That doesn't contradict my statement at all.
The problems you speak of are due to the browser runtime, not JavaScript.
- jcelerier 6y agoWhat makes you say that they aren't also due to the kind of programming style that JS encourages ? Also, my anecdotal experience writing some audio algorithms in pure JS is that it's ... not an order of magnitude, but not far away, from the performance of the same code written in C++ with std::vector<double>s. Likely there's some magic that could be done to improve it, but the C++ code is written naïvely and ends up extremely well optimized.