Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Perl, Cell BE, PlayStation 3

by sg (Pilgrim)
on Sep 20, 2007 at 06:32 UTC ( #640050=perlquestion: print w/replies, xml ) Need Help??

sg has asked for the wisdom of the Perl Monks concerning the following question:

It is possible to write C-code for IBM's Cell Broadband Engine (Cell BE) (a multi-core processor) running linux and using the Cell BE SDK (C libraries) to take advantage of the multiple cores ("SPE"s).

Question: how would one go about enabling the use of the SPEs (via the Cell BE SDK) from perl on the linux?

Replies are listed 'Best First'.
Re: Perl, Cell BE, PlayStation 3
by erroneousBollock (Curate) on Sep 20, 2007 at 07:23 UTC
    There's nothing magical you can do to have perl take advantage of the Cell's SPEs.

    Normally the SPEs take short compiled programs from the supervisor and usually run those programs a vast number of times over a stream of data.

    To use them from perl5, the perl compiler would need to be re-written (not just re-compiled) to take advantage of the Cell's facilities.

    Unlike the current crop of "multi-core" processors, the Cell's SPEs are more like special purpose co-processors... where that purpose is modifiable at run-time.

    Once parrot (and it's JIT) has matured enough, some interested folks may be able to optimise a number of operations for the Cell. perl6 would indirectly benefit from these optimisations.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://640050]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2022-12-04 22:38 GMT
Find Nodes?
    Voting Booth?

    No recent polls found