develooper Front page | perl.perl6.language | Postings from April 2005

Re: Threading in Parrot vs Perl

Thread Previous | Thread Next
From:
Uri Guttman
Date:
April 28, 2005 11:07
Subject:
Re: Threading in Parrot vs Perl
Message ID:
x7ekcuojuy.fsf@mail.sysarch.com
>>>>> "RA" == Rod Adams <rod@rodadams.net> writes:

  RA> I would be dismayed if autothreading used threads to accomplish it's
  RA> goals. Simple iteration in a single interpreter should be more than
  RA> sufficient.

how autothreading is implemented is distinct from the language
feature. a simple version is the iteration mentioned above. but on a
multiprocessor with (poosibly prespawned) threads on a large junction,
it could be much faster to use parrot threads. but that is just an
optimization which uses parallel processing and is not needed for
working junction semantics. larry has hinted that autothreading could be
parallel underneath if that is supported. maybe choosing the desired
implementation would be a pragma.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

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