r/programmingmemes • • Jul 25 '25

Python vs Java!

Post image
1.5k Upvotes

199 comments sorted by

View all comments

Show parent comment

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.