4 ms·
When you’ve written over one thousand event loops, and debug another thousand edge cases and logic bombs like reading a blocking socket before it’s ready, parti
by jquast 3y ago
When you’ve written over one thousand event loops, and debug another thousand edge cases and logic bombs like reading a blocking socket before it’s ready, partial read, or mac vs Linux vs windows peculiarities in your homemade hundreds-lines long event loop, you will begin to appreciate letting go of it all, and letting python manage your event loop for you.