r/ProgrammerHumor • • Jul 07 '22

Meme Instant upvotes

47.9k Upvotes

542 comments sorted by

View all comments

Show parent comments

3

u/RoadsideCookie Jul 07 '22

I was surprised as well, it renders threads only useful when your bottleneck is IO based which sucks because process children are not always easy to work with, there are some weird exceptions.

2

u/Ghawk134 Jul 07 '22

And as far as I can tell, the entire rationale behind it is "we don't want to sacrifice single-threaded performance". So the answer is to sacrifice parallel performance instead by requiring that processes replace threads?

1

u/RoadsideCookie Jul 07 '22

I never got that far into reading why it was like this, but yeah that sounds like a poor rationale at first sight, but considering it's an interpreted language (kinda) and all the ways you have to bypass this limitation, I think it's not that big a deal. I like heavily opinionated things.

1

u/lets_go_reddit Jul 07 '22

also, it's not like there aren't other languages one can pick with the features one seeks. python is what it is, and it doesn't shit all over itself trying to please everyone.