Hacker News new | ask | show | jobs
by 0x0 3850 days ago
You can't just sprinkle async onto existing functions and have the awaiting code resume magically: Going async also requires an event loop.

Adding an event loop to an environment where there previously has not been one is non-trivial.

Also, changing existing blocking methods to be non-blocking would break everything that uses (and expects) those APIs to be blocking.