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

Re: (OT) Programming languages for multicore computers

by moritz (Cardinal)
on May 04, 2009 at 13:53 UTC ( [id://761726]=note: print w/replies, xml ) Need Help??


in reply to (OT) Programming languages for multicore computers

Is multicore programming the near-mid future of programming?
IMHO, yes
and if so, is Perl doing any effort (maybe trough Perl6) in that direction?

Yes. Perl 6 is specified with concurrency in mind, and there are some constructs that can be automatically parallelized, and many features are geared to make that painless. Sadly only pugs implements some parallelism so far, and only very basic constructs.

Will the functional programming languages become more relevant with the multi-core revolution?

Especially pure functional languages like Haskell. I can imagine it's much easier for the compiler to determine interdependencies than for normal, imperative languages. But it remains to be seen how much that will matter in practice; I believe that both language families have much space to improve wrt concurrency.

Will it worth to start today my project in one of those concurrent programming languages?

That really depends on how easy or hard they are to parallelize. I'm currently doing some simulations that are embarrassingly simple to parallelize - I always have to cover a large parameter space, so I just start one process per parameter, let it run for an hour and collect the result in a file - there's really no point parallelizing that more unless somebody throws more than 200 CPUs at me, each equipped with at least 8GB RAM.

Which ones will survive, which will be abandoned and which will be a reference for concurrent programming?

I don't think that's clear yet. There are a few language that I'm pretty sure will stay, which have proven to fit very well for some problems (C and Haskell for example; I'm also pretty sure that Erlang has a sufficiently large community to survive).

  • Comment on Re: (OT) Programming languages for multicore computers

Replies are listed 'Best First'.
Re^2: (OT) Programming languages for multicore computers
by shmem (Chancellor) on May 05, 2009 at 20:02 UTC
    Sadly no only pugs implements some parallelism so far, and only very basic constructs.

    But having that in mind: it should be done in the core, at the very bottom, since it affects all that comes after in terms of implementation.

      I know, and the other hackers know that as well. At the heart of Rakudo is Parrot, and that already implements concurrency - it "just" needs more testing, and the compiler needs to emit the corresponding code.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://761726]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-24 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found