Re:Go-style concurrency in C
by vanderZwan on Wednesday November 18, 2015 @03:55AM
(#10586690)
I don't use Tcl but that looks nice.
> You can do concurrency on a single thread. This is the message I find it hard to get across when explaining CSP concurrency libraries.
Heck, there's an entire language built around single-threaded concurrency! Compiles to C, coincidentally - it targets embedded platforms. It's not quite CSP style though, it takes after Esterel and uses synchronous reactive concurrency:
However, as soon as you have multiple Céu programs communicating (for example, multiple Arduino's) the program-to-program communication is fairly CSP-like.
> You can do concurrency on a single thread. This is the message I find it hard to get across when explaining CSP concurrency libraries.
Heck, there's an entire language built around single-threaded concurrency! Compiles to C, coincidentally - it targets embedded platforms. It's not quite CSP style though, it takes after Esterel and uses synchronous reactive concurrency:
http://ceu-lang.org/
However, as soon as you have multiple Céu programs communicating (for example, multiple Arduino's) the program-to-program communication is fairly CSP-like.