Hacker News new | ask | show | jobs
by modulared 90 days ago
> 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.

1 comments

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