Structured concurrency and Lua
&gt; <i>It achieves this in ways that seem subtle to us-- clearly so, since it wasn&#x27;t really discovered and applied until the late 2010&#x27;s</i><p>I&#x27;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&#x27;m seeing is the addition of scoped <i>asynchronous</i> concurrency on top of synchronous concurrency (meaning single-threaded concurrency). That&#x27;s significant for sure, but also not so much that it&#x27;s cool to ignore the existing previous work.<p>Here&#x27;s Céu, a language from 2011 with scoped synchronous concurrency:<p><pre><code>    input int KEY;  
    par&#x2F;or do  
      every 1s do  
        _printf(&quot;Hello World!\n&quot;);  
      end  
    with  
      await KEY;  
    end
</code></pre>
(Prints the “Hello World!” message every second, terminating on a key press.)<p>And hey, since we&#x27;re talking about Lua, maybe we can acknowledge LuaGravity, which has existed since 2009?<p>Don&#x27;t get me wrong though, I&#x27;m glad structured concurrency is catching on and that new work is being done in this area.<p>[0] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Synchronous_programming_language" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Synchronous_programming_langua...</a><p>[1] <a href="http:&#x2F;&#x2F;ceu-lang.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ceu-lang.org&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;fsantanna.github.io&#x2F;luagravity&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fsantanna.github.io&#x2F;luagravity&#x2F;</a>