Javascript is also multi-threaded if you use web-workers (which even works in IE11).
If you ever done desktop software application development, the main thread is basically your UI thread. You can interact between threads with postMessage. It's narrowing down your architecture pattern (MVC, MVVM, MVP, etc) to make that happen where beginners usually get lost.
The popular frameworks don't really push their usage much. I fear many people don't bother learning the core DOM/JS/Browser interactions. It's not bad because most frameworks heavily push async operations (promises), but the less you do on your UI thread, the better.
I'd say that it is quite slow more often than js is
Good performance cases in python are when lots of intense computation is offloaded to C, for example numpy. This isn't true in js which is natively fast
46
u/mjeemjaw May 28 '19
Javascript is very fast in modern environments