Slashdot Mirror


Multi-Threaded Programming Without the Pain

holden karau writes "Gigahertz are out and cores are in. Programmers must begin to develop applications that take full advantage of the increasing number of cores present in modern computers. However, multi-threaded development has been notoriously hard to do. Researcher Stefanus Du Toit discusses and demonstrates RapidMind, a software system he co-authored, that takes the pain out of multi-threaded programming in C++. For his demo he created a program on the PlayStation 3 representing thousands of chickens, each independently tracked by a single processing core. The talk itself is interesting but the demo is golden."

12 of 327 comments (clear)

  1. Which Comes First? by jforest1 · · Score: 5, Funny

    The multi-threaded chicken or the multi-threaded egg?

    --josh

    1. Re:Which Comes First? by zoefff · · Score: 2, Funny

      nope, the post

    2. Re:Which Comes First? by Kjella · · Score: 4, Funny

      Since the egg thread is always converted to a chicken thread while the chicken thread spawns new subthreads, the egg came first. QED.

      --
      Live today, because you never know what tomorrow brings
    3. Re:Which Comes First? by cronot · · Score: 5, Funny

      the fork()

    4. Re:Which Comes First? by Timesprout · · Score: 3, Funny

      Since the egg thread is always converted to a chicken thread
      Someone forgot about the omlette thread.
      --
      Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
      What truth?
      There is no dupe
    5. Re:Which Comes First? by Anonymous Coward · · Score: 1, Funny

      They're multi-threaded... They can come at the same time.

  2. Deadlocked! by Trimbo2 · · Score: 2, Funny

    Deadlock detected!

  3. Re:"hundreds of cores"? by Bastard+of+Subhumani · · Score: 3, Funny

    that means in 7.5 years we'll have 128 cores.
    What a pity 640 isn't a round power of 2. That ought to be enough for anybody.
    --
    Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
  4. Where are the chicks? by Meneth · · Score: 2, Funny

    I browsed through the 411 MB ogg file, but could not find any chicks. Where are they?

  5. Re:Don't Bother by Nimey · · Score: 3, Funny

    99.99% of the time
    ...people who use that phrase don't know what they're talking about, and especially don't grok statistics.
    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  6. Re:400MB download by aadvancedGIR · · Score: 5, Funny

    Me, I was expecting 100 4MB movies files that you would have to play concurrently.

  7. Re:Huh? by gbjbaanb · · Score: 3, Funny

    Well, given that the chicken demo did scale, aren't you curious as to what they are doing differently? Not using Java? :-)