2021-8-3 6:12 David Christensen <dpchrist@holgerdanske.com> wrote: > On 8/2/21 12:05 PM, Leon Timmermans wrote: > >> On 7/29/21 10:34 AM, Leon Timmermans wrote: > >> > I agree [concurrency is] important, that's why I'm actually working > on > >> > the issue. To be precise, an ithreads based (so can actually use > >> > multiple processors) continuation passing style (same model Go uses > >> > for its channels) module. > > > Sorry, I meant CSP (Communicating sequential processes) not CPS > > (continuation passing style) > > > CSP is a proven model for concurrency. > > > AIUI CSP is the raison d'ĂȘtre of the Go programming language, which has > become the dominant concurrent programming language (and ahead of Perl > in general): > > https://www.tiobe.com/tiobe-index/ > > > This tutorial provides a taste of goroutines and channels: > > https://golangbot.com/channels/ > > > How are your CSP channels implemented in Perl? > > > Have you thought ahead to distributed/ network programming? > > > David > Generally Speaking, about concurrency like goroutines and channels, it's difficult if it isn't designed from the beginning of the language. If you want to implement it, see SPVM at once. SPVM is yet before version 1.0. https://metacpan.org/pod/SPVM You can also try out experiments on concurrency implementation on SPVM.Thread Previous | Thread Next