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

> since the compiler cannot inline across await.

Is this stated somewhere? A simple search online yields nothing, and just testing it out on godbolt the compiler does inline at least simple async functions as mentioned in the article.



Yeah I suppose it may be inlined if it's a trivial async function (no suspension points).




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

Search: