[kde-solaris] KDE 3.2.*, Solaris 9,
and other news [ was: swap space requirements ]
eva at kde.org
Tue Jan 27 19:02:04 CET 2004
Am Dienstag, 27. Januar 2004 02:29 schrieb Stefan Teleman:
> The other aspect is: being written in C++, KDE binaries will incur a
> size overhead because of the exception mechanism, if nothing else. I
> can disable exceptions at compile-time, but that is not a good idea.
> The only way of guaranteeing that something does not throw, is to
> declare it with a throw() exception signature. Neither KDE nor QT
> declare exception specifications in their method signatures, so,
> anything can throw. In the unfortunate case that something throws,
> but the exception mechanism was disabled at compile-time, the
> behavior is undefined, and it is also close to impossible to debug,
> or even track down.
Qt and KDE definitly don't throw exceptions (in kde they are even disabled by
default). It works also, that code linked to the libs throws an exception.
For gcc there is no difference in runtime, since the exception code is only
loaded on demand once an exception is thrown, so memory usage and loading
time are the same as without exception. Only the compile time is longer.
More information about the kde-solaris