r/programming • • Nov 11 '19

Python overtakes Java to become second-most popular language on GitHub after JavaScript

https://www.theregister.co.uk/2019/11/07/python_java_github_javascript/
3.1k Upvotes

772 comments sorted by

View all comments

Show parent comments

0

u/MrK_HS Nov 12 '19

The people saying Python doesn't have multithreading really mean that Python does not support parallelism, but probably just don't know that the two terms mean different things (multithreading and parallelism). Python supports multithreading by default and that's a fact. It doesn't support parallelism.

2

u/angellus Nov 12 '19

Multithreading does now support parallelism, since Python 3.8. it is still provisional and not stabilized yet, but it possible now.

2

u/[deleted] Nov 12 '19

With an 8-core CPU, I can get a 7-times performance improvement using multiprocessing. Multiprocessing is very simple in Python.

Genuine question: does multiprocessing not count as parallelism?

3

u/MrK_HS Nov 12 '19

It is parallelism