Hacker News new | ask | show | jobs
by sitkack 1624 days ago
That would be a kind of a sintax, no?
1 comments

I guess it depends on what OP is talking about. Async code can be written with callbacks (callback hell incoming), or with Futures/Promises, or with syntax sugar like async (do notation).

Whatever the reason is for using async, I believe that the mismatch happens not because Async is optimized for I/O bound programs but because it's insanely easy to use (in Rust, Javascript).