Re:What Happens to OO When Processors Are Free? (2015)
by readams on Sunday January 15, 2017 @03:20PM
(#13406146)
This sounds like a good idea until you realize that your computations will be dominated by synchronization and/or communication overhead.
[ Parent
| on HN ]
Re:What Happens to OO When Processors Are Free? (2015)
by elihu on Sunday January 15, 2017 @04:34PM
(#13406509)
Setting aside for a moment the wisdom of using thousands of cores to enable object oriented programming (which I'm dubious of), it seems to me that the way modern processors handle communication and synchronization is mostly a historical accident, and we could probably do a lot better than just letting processes share memory willy-nilly and having the processor cache sort it out. Like maybe we could give each core a set of registers dedicated explicitly for communicating with its neighbors, bypassing the memory hierarchy entirely for small messages.
Re:What Happens to OO When Processors Are Free? (2015)
by gpderetta on Monday January 16, 2017 @10:29AM
(#13410457)
That didn't work very well for Cell.
Re:What Happens to OO When Processors Are Free? (2015)
by mpweiher on Sunday January 15, 2017 @04:21PM
(#13406461)
The point of the article was that there is so much extra parallel horsepower available that you would come out ahead even if overhead is something staggeringly ridiculous like 100x. That's what makes the idea interesting (though obviously not necessarily correct, it's just a thought-experiment).
Re:What Happens to OO When Processors Are Free? (2015)
by njloof on Sunday January 15, 2017 @07:35PM
(#13407449)
Ther Connection Machine was able to handle arbitrary n-processors-to-n-processors "sends" in (log2 n) time, but only by interconnecting the processors in a (log2 n)-dimensional hypercube. That's a lot of interconnects...
Re:What Happens to OO When Processors Are Free? (2015)
by dfox on Monday January 16, 2017 @02:48AM
(#13408689)
Also, Connection Machine does not have independent processors that execute arbitrary code and do uncoordinated communications. In traditional CM, everything happens synchronously under control of one global microcode sequencer, so communication can be planned by some offline algorithm that finds optimal paths for any given N to M communication operation.
Also CM "processors" are not CPU's in any meaningful sense. Each CM's processor is essentially multiplexer and few bits of registers. Instruction is presented to the data inputs of multiplexer and processor state goes to the selection inputs with mux output being the next CPU state. In essence it's FPGA turned inside-out.