[zeromq-dev] Structured concurrency in java

Arnaud Loonstra arnaud at sphaero.org
Tue Dec 5 14:46:06 CET 2023


Hi all,

Don't know if you got the news recently but there is a proposal to add 
structured concurrency to Java.:

https://openjdk.org/jeps/453

How this relates to zeromq is by the fact that Martin Sustrik was 0MQ's 
lead developer until 2011 when he started successors of zeromq. If you 
have followed him he eventually coined the term 'stuctured concurrency' 
and implemented it through libdill for example:

https://sustrik.github.io/libdill/structured-concurrency.html

I always enjoyed Pieter's and Martin's article about multithreading 
magic: http://wiki.zeromq.org/blog:multithreading-magic

Snippet from the JEP: "/Structured concurrency/ is an approach to 
concurrent programming that preserves the natural relationship between 
tasks and subtasks, which leads to more readable, maintainable, and 
reliable concurrent code. The term "structured concurrency" was coined 
by Martin Sústrik <https://250bpm.com/blog:71/> and popularized by 
Nathaniel J. Smith 
<https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/>. 
Ideas from other languages, such as Erlang's hierarchical supervisors, 
inform the design of error handling in structured concurrency."

Rg,

Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20231205/dbc14ba1/attachment.htm>


More information about the zeromq-dev mailing list