[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] OT: Multi-core Utilization



The go language is supposed to be good for parallel processing but I don't know exactly how it works.

Ron


Jeff Hubbs <jhubbslist at att.net> wrote:

>My *practical* experience has a hole in it when it comes to developing 
>software to efficiently use multiple cores in a machine.
>
>If I'm writing code in the likes of C++, Python, or Fortran 
>(acknowledging that I've got a range of programming paradigms there)
>and 
>let's say that I'm subtracting two 2-D arrays of floating point numbers
>
>from one another element-wise, how is it that the operation gets blown 
>across multiple CPU cores in an efficient way, if at all?  Bear in mind
>
>that if this is done in Fortran, it's done in a pair of nested do-loops
>
>so unless the compiler is really smart, that becomes a serial
>operation.
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://mail.ale.org/mailman/listinfo/ale
>See JOBS, ANNOUNCE and SCHOOLS lists at
>http://mail.ale.org/mailman/listinfo


--

Sent from my Android Acer A500 tablet with bluetooth keyboard and K-9 Mail.
Please excuse my potential brevity if I'm typing on the touch screen.

(PS - If you email me and don't get a quick response, you might want to
call on the phone.  I get about 300 emails per day from alternate energy
mailing lists and such.  I don't always see new email messages very quickly.)

Ron Frazier
770-205-9422 (O)   Leave a message.
linuxdude AT techstarship.com