News for hackers. Stuff that matters.
Re:Async Python is not faster by shk1338 on Friday June 12, 2020 @08:22PM (#23505387)
But have you tried creating one thousand of OS threads and measuring the actual memory usage? If I recall correctly I read some article where it was explained that threads in Linux are not actually claiming their 8MB each so literally. I need to recheck that later.
Re:Async Python is not faster by heavyset_go on Friday June 12, 2020 @11:45PM (#23506585)
You're right, I've read the same. Using Python 3.8, creating 12,000 threads with `time.sleep` as the target clocks in at 200MB residential memory.