|
|
Subscribe / Log in / New account

Making CPython faster

Making CPython faster

Posted Jun 4, 2021 7:15 UTC (Fri) by LtWorf (subscriber, #124958)
In reply to: Making CPython faster by Paf
Parent article: Making CPython faster

use the multiprocessing module?


to post comments

Making CPython faster

Posted Jun 4, 2021 17:24 UTC (Fri) by NYKevin (subscriber, #129325) [Link]

You don't even need to go that far. Most of the serious scientific computing community is already using NumPy or SciPy, and those are not subject to the GIL because they run the big expensive parts in native code.

Even if Python dropped the GIL tomorrow, those libraries would continue to be used. Native code is so much faster than interpreted code that it's not worth even trying to make Python fast enough to compete with them.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds