Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> if async/await is so good, why not make all functions in the language implicitly async, and instead of "await" just write normal function calls?

You mean like Haskell?

The answer is that you need an incredibly good compiler to make this behave adequately, and even then, every once in a while you'll get the wrong behavior and need to rewrite your code in a weird way.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: