From kde-devel Fri Oct 29 05:10:28 2004 From: Luke Sandell Date: Fri, 29 Oct 2004 05:10:28 +0000 To: kde-devel Subject: How many processes? Message-Id: <200410290110.28964.ls65594 () appstate ! edu> X-MARC-Message: https://marc.info/?l=kde-devel&m=109905947803711 The KDE Style Guide (http://developer.kde.org/documentation/standards/kde/style/basics/windows.html) gives the following advice: "Whenever a Pure SDI application is started, it should, if possible, check for an already running copy of itself. If such a copy is found, it should be that copy which performs a New action, thus making a new application appear. This guideline is so that large programs, such as word processors, don't simply run in multiple copies of themselves and hog all the user's memory. " If this is to be followed, shouldn't every Pure SDI application be a KUniqueApplication? Conserving memory is a good idea, but it leads to one problem. If one window crashes, they all crash, because there is only one process. Wouldn't it be a better idea to have multiple processes but the majority of code in a shared library? That way you are conserving memory, but if one crashes the rest are unaffected. Thanks, Luke Sandell >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<