[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: How many processes?
From: Luke Sandell <ls65594 () appstate ! edu>
Date: 2004-10-29 5:10:28
Message-ID: 200410290110.28964.ls65594 () appstate ! edu
[Download RAW message or body]
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 <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic