4 ms·
> I feel like the #1 downside of Python for the last few years is that you cannot take advantage of multiple cores of a CPU easily. Also a big downside with Ja
by zozbot234 6y ago
> I feel like the #1 downside of Python for the last few years is that you cannot take advantage of multiple cores of a CPU easily.
Also a big downside with JavaScript. Of course both Python and JS are high-level interpreted languages where high-performance use cases aren't the foremost priority.
- azangru 6y ago> Also a big downside with JavaScript. Can't Node run multiple processes (or multiple workers, not sure of the proper terminology) on multiple cores? As discussed in this thread on StackOverflow: https://stackoverflow.com/questions/61893497/node-js-on-multi-core-processors https://stackoverflow.com/questions/61893497/node-js-on-mult...
- willseth 6y ago> Of course both Python and JS are high-level interpreted languages where high-performance use cases aren't the foremost priority. Modern JS engines are all primarily JIT-based, generally only interpreting code when it's faster than waiting on the JIT. JS JITs are quite good now, and in many cases will produce optimized C-equivalent compiled code from fairly naive JS.