Hacker News new | ask | show | jobs
by emmanueloga_ 2502 days ago
Related questions: does anybody know:

1) which was the first language that introduced the async/await keywords? I want to say C#, but I’m not sure.

2) are there any papers that describe the code transformation to state machine that is commonly performed to implement these keywords?

1 comments

For #1, there's a well-sourced Stack Overflow post https://softwareengineering.stackexchange.com/a/377514.
Cool, I'll take a look!

I was quickly searching around and found this paper [1]:

"Pause 'n' play: formalizing asynchronous C#".

It looks promising, although it is behind a paywall ;-(. Also, the keyword "formalizing" tells me that maybe this goes a bit deeper than the kind of description I'm looking for...

1: https://dl.acm.org/citation.cfm?id=2367181

sci-hub.tw usually helps with getting papers that are behind paywalls!