Exploring Structured Concurrency and Its Parallels with Imperative Synchronous Languages
By
jbkcc
Master baker tier. Every paragraph earns its place on the tray.
Summary
The article discusses Structured Concurrency (SC), a concept supporting nested coroutines with tied lifetimes, and highlights its similarities with imperative synchronous languages (ISLs) like Esterel. It mentions existing libraries (Dill, Trio, Effection) and language mechanisms in Swift and Kotlin that implement SC. The author notes the lack of bridges between ISLs and SC, despite ISLs' long-standing research on lexically-scoped tasks with safe cancellation.
Key quotes
· 3 pulledStructured Concurrency (SC) supports nested coroutines with tied lifetimes.
The similarities with Esterel and derived imperative synchronous languages (ISLs) is noteworthy.
Research in ISLs dates back to the early 80s, and constantly reinforces the idea of lexically-scoped tasks with safe cancellation.
You might also wanna read
A Formal Proof That Jira Is Turing-Complete via Minsky Machine Implementation
This article provides a formal proof that Jira (Atlassian's project-tracking tool) is Turing-complete by demonstrating how to build a Minsky
A Formal Proof That Jira Is Turing-Complete via Minsky Machine Implementation
This article provides a formal proof that Jira (Atlassian's project-tracking tool) is Turing-complete by demonstrating how to build a Minsky
How Shamir's Secret Sharing Algorithm Enables Threshold Cryptography
This article explains Adi Shamir's Secret Sharing algorithm, a cryptographic method published in 1979 that splits a secret into multiple pie
Modeling Chess as a Concurrent System: Invariants and Interleaved Execution
The article discusses chess as a concurrent system with interleaved execution (turn-based play) and introduces the concept of modeling such
The History of Pipes, Forks, and Zombies in Unix Systems
This article discusses the history and concept of pipes in Unix systems, focusing on Doug McIlroy's original vision of coupling programs lik
Demystifying Floating Point Numbers: An Interactive Guide
An in-depth technical blog post that demystifies floating point numbers, explaining their internal representation and behavior. The author i
