>
It achieves this in ways that seem subtle to us-- clearly so, since it wasn't really discovered and applied until the late 2010'sI'm getting a little annoyed by the structured concurrency crowd ignoring the synchronous concurrency paradigm as a historical precedent. It has existed since the 1980s and as far as I can tell there is a huge overlap in concepts. The only major difference I'm seeing is the addition of scoped asynchronous concurrency on top of synchronous concurrency (meaning single-threaded concurrency). That's significant for sure, but also not so much that it's cool to ignore the existing previous work.
Here's Céu, a language from 2011 with scoped synchronous concurrency:
input int KEY;
par/or do
every 1s do
_printf("Hello World!\n");
end
with
await KEY;
end
(Prints the “Hello World!” message every second, terminating on a key press.)
And hey, since we're talking about Lua, maybe we can acknowledge LuaGravity, which has existed since 2009?
Don't get me wrong though, I'm glad structured concurrency is catching on and that new work is being done in this area.
[0] https://en.wikipedia.org/wiki/Synchronous_programming_langua...
[1] http://ceu-lang.org/
[2] https://fsantanna.github.io/luagravity/
I'm getting a little annoyed by the structured concurrency crowd ignoring the synchronous concurrency paradigm as a historical precedent. It has existed since the 1980s and as far as I can tell there is a huge overlap in concepts. The only major difference I'm seeing is the addition of scoped asynchronous concurrency on top of synchronous concurrency (meaning single-threaded concurrency). That's significant for sure, but also not so much that it's cool to ignore the existing previous work.
Here's Céu, a language from 2011 with scoped synchronous concurrency:
(Prints the “Hello World!” message every second, terminating on a key press.)And hey, since we're talking about Lua, maybe we can acknowledge LuaGravity, which has existed since 2009?
Don't get me wrong though, I'm glad structured concurrency is catching on and that new work is being done in this area.
[0] https://en.wikipedia.org/wiki/Synchronous_programming_langua...
[1] http://ceu-lang.org/
[2] https://fsantanna.github.io/luagravity/