3 ms·
> Hate to go down this road, but JavaScript is anything but slow. What is slow is the layer upon layer of complexity + poor coding of many web apps. That's not
by jcelerier 6y ago
> Hate to go down this road, but JavaScript is anything but slow. What is slow is the layer upon layer of complexity + poor coding of many web apps. That's not an exclusive problem to JavaScript.
where are those fast javascript apps ? where ? compare the super snappiness of a Telegram Desktop with molasses $every_other_chat_client_using_electron for instance.
And if you are gonna say that VSCode is fast you have no idea how truly fast software feels like - if you come across try a QNX 6 demo iso and be amazed at how fast your computer answers to literally everything.
- colordrops 6y agoThat 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.
- pjmlp 6y agoVSCode seems fast until one starts Notepad++ or Sublime Text. Microsoft's React Native team has charts where it shows Electron has 300x slowdown versus native applications.