develooper Front page | perl.perl5.porters | Postings from August 2021

Re: concurrency list (was Re: Relinquishing Maintenance of CoreModules)

Thread Previous | Thread Next
From:
Yuki Kimoto
Date:
August 3, 2021 02:21
Subject:
Re: concurrency list (was Re: Relinquishing Maintenance of CoreModules)
Message ID:
CAExogxOKYn+tPRV92YiyimnyUk7ah6sB=B+fVgh7GKq_qJHRqg@mail.gmail.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About