logoalt Hacker News

jayd16 • today at 3:15 PM • 2 replies • view on HN

Is this a joke, like "hen's teeth"? Those languages don't have async/await.


Replies

shellac • today at 3:50 PM

They don't need to mark functions as needing special compilation / rewriting to support asynchronous use since the runtime provides the necessary mechanism to pause and resume (e.g. stackful continuations). So 'async' is unnecessary and 'await' can be a library function (or remain a keyword of course).

pjmlp • today at 3:33 PM

No joke at all, not that I said "like implementation", not that they have async/await.

https://github.com/dotnet/runtimelab/issues/2398

Be sure to read all the way to the bottom,