[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: Embedding external parts into KDE
by Pierre Phaneuf on Thursday 21/Dec/2000, @12:24

Good answer, except for the multithreading part.

Multithreading doesn't improve speed, it improves apparent speed, which is quite different.

Multithreading is actually less efficient. On the surface, doing many things at once like a multithreaded program without using real threads seems more complicated, but real multithreaded programming has so many hidden pitfalls and debugging problems that you would probably have found the increased difficulty of singlethreaded code not that great.

The Accelerating Apache project for example, has managed to make Apache 1.3 up to ten times faster and Apache 2.0 up to four times faster on the SPECweb96 benchmark. A major part of this was ditching threads for their State Thread package, which simulates multithreaded behavior without actually using threads (similar to GNU Pth, by the way).

  Related Links
 ·   Articles on Desktop Environment
 ·   Also by Pierre Phaneuf
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

  "The trolls are only human and make mistakes too." -- Charles Samuels
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]