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.
Permalink for comment 52491
To read all comments associated with this story, please click here.
Re: MP readiness
by Anonymous on Fri 28th Oct 2005 16:18 UTC in reply to "MP readiness"
Anonymous
Member since:
---

"windows software, generally, never really took advantage of it as compared to other OSes and applications developed for those OSes."

Threading is supported since Win32 (around 1994-95, IIRC), when for example Linux and xBSD thread support came a little bit later, not talking about MacOS Classic. Anyway, most if not all *live* OSes support threading at least, so are ready (more or less) for SMP.

What's important here is what programming model mainstream programmers are used to. And, as a matter of fact, most of them are used to the classic sequencial and the event-driven model.
Win32, Coccoa, Qt, QDK, Java AWT & SWING, all provides fundations for both models and don't make threading your software nor mandatory nor recommanded. They all provides threading support but it's up to the developers to chose to use it or not.

This doesn't means developers don't used threads sometimes, just they're not yet fluent in real asynchronous software design.

Which is not *that* easy, BTW, compared to previous programming model. And could quickly become really messy too, thanks to deadlocks.
Just like many IT methods, doing multithreading just for the sake of it is not always the right way to do things. Sometime a "naive" threaded model keep your design and code (and debugging) simpler, sometime sequencial programming is better. It all depends on what you're after and the compromise you're ready to accept.

But just for performance on SMP systems, threading is a good way to do it today, sure.

Reply Parent Score: 1