4 ms·
This reminds me very much of C# async and await (although "async for" and "async with" are very nice additions). It seems to me many other languages are now bas
by pjtr 11y ago
This reminds me very much of C# async and await (although "async for" and "async with" are very nice additions). It seems to me many other languages are now basically adopting wholesale these same features from C#.
I'm curious, is this just my warped perception? Did this terminology and feature set previously exist in programming language theory or practice? I know F# had "async" for a while before C#. Was there "prior art" that looked basically the same in Lisp, Haskell, Scala, ML, etc. or in some research language long before that?
- kevingadd 11y agoC# has essentially put a common name to many existing CS features and popularized particular forms of them. A bunch of modern C# features are actually lifted from F#, which had them first on the .NET platform. Sometimes the C# version is simplified or has some of the sharp edges filed off (which makes it less powerful, but safer). Async/await is definitely one of these.
- didibus 11y agoI love C#'s names for things. They take often academic names of non obvious meaning, and just replaces it with a common word whose meaning is obvious.
- pjmlp 11y agoYou have to thank Erik Meijer for that, at least partially. "Confessions of a used programming language salesman (getting the masses hooked on haskell" http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.118.2025 http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.118....