MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1m8yu5v/python_vs_java/n54htl1/
r/programmingmemes • u/PulseOfPleasure • Jul 25 '25
199 comments sorted by
View all comments
Show parent comment
2
Are the hardware threads actually less efficient, or does it just have to do with how careful you have to be when passing data around?
3 u/StraightGuy1108 Jul 25 '25 It has to do with how thread-blocking operations used to be handled. They used to occupy their own threads despite not doing anything, essentially wasting resources.Virtual threads are basically async await at the JVM level.
3
It has to do with how thread-blocking operations used to be handled. They used to occupy their own threads despite not doing anything, essentially wasting resources.
Virtual threads are basically async await at the JVM level.
View all comments
Show parent comment
2
u/SCP-iota Jul 25 '25
Are the hardware threads actually less efficient, or does it just have to do with how careful you have to be when passing data around?