Linked by Thom Holwerda on Fri 28th Oct 2005 11:17 UTC
Hardware, Embedded Systems Herb Sutter, a software architect from Microsoft, gave a speech yesterday at In-Stat/MDR's Fall Processor Forum. Addressing a crowd mostly consisting of hardware engineers, he talked about how the software world was ill-prepared to make use of the new multicore CPUs coming from Intel and AMD.
Thread beginning with comment 52423
To view parent comment, click here.
To read all comments associated with this story, please click here.
japail
Member since:
2005-06-30

It's not just a matter of education, but a matter of tools and practicality. That is to say that it is easier (especially in imperative languages without inherent concurrency primitives) to write single-threaded code and the most practical decision has been to do so in terms of performance and development time given the niche multiprocessor systems have been. When threading has been utilized it has often been so naively, as one might with BeOS or Java wherein lots of threads are spawned for conceptually distinct tasks as a means of providing "fire and forget" asynchronous behavior.

Lots of libraries are not thread-safe, and the naive manner in which one is to make use of such libraries is either to perform locking when calling into them, or to delegate all interaction with the given library to a single thread.

There are a lot of other things involved here, but I can't really address them now.

Reply Parent Score: 3

Member since:

I agree strongly with this and with the statements of
the software architecture ( i did not RTTA , i
don't use the F work ). It was something I was
thinking about a few days back. Multi core systems
fundamentally introduce a new programming paradigm.
In introduces parellelism into the soup, what tasks,algorithms, functions can parallelise, will they parallelise well, will they scale well to more processors.How much should I do or let the OS figure out when developing on a parallel platform.

The horizons that paralellism opens up are exciting but they will be largely unexplored for a long while yet. ....

Reply Parent Score: 0