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

I do mean async as in generic async IO.

As you said, you can of course recover stackful behaviour by using yield/await/async/wathever at every level of the call stack, but in addition to being a performance pitfall (you are in practice heap allocating each frame separately and yield is now O(N): your iterpreter/compiler/jit will need to work hard to remove the abstraction overhead), it leads to the green/red function problem.



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

Search: