News for hackers. Stuff that matters.
Re:Test for lists in Cython by zozbot234 on Monday April 19, 2021 @07:44AM (#26861636)
> 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.

Re:Test for lists in Cython by azangru on Monday April 19, 2021 @07:52AM (#26861710)
> 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-mult...

Re:Test for lists in Cython by zozbot234 on Monday April 19, 2021 @07:57AM (#26861760)
> Can't Node run multiple processes

Of course, but you can also run multiple Python processes.

Re:Test for lists in Cython by edgyquant on Monday April 19, 2021 @03:17PM (#26866830)
It’s way different though, node itself is multithreaded (just under the hood)
Re:Test for lists in Cython by willseth on Monday April 19, 2021 @11:56AM (#26864203)
> 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.