<br><br><div class="gmail_quote">On Mon, Aug 15, 2011 at 3:31 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:neundorf@kde.org">neundorf@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div style="font-family:'Monospace';font-size:9pt;font-weight:400;font-style:normal">snip<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-----------------------------------------</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">7) (Getting rid of) kdeinit</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-----------------------------------------</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">There was a discussion about what makes a KDE application different from a non-KDE application. One thing is kdeinit, which is used to speed up load time of applications by running a daemon (kdeinit) which is linked against a set of shared libraries, and which dlopen()s the applications (i.e. their plugin) instead of simply executing them normally.</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- somebody (Volker ?) said that this speedup is still very much needed, especially on slower platforms, e.g. tablets</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- Dirk mentioned that at least on Linux, when building PIE executables (position independent executables), executables can be loaded also as shared object, and our special buildsystem magic would not be required anymore. But this would work only on Linux, with kernels >= 2.6.10 (or so, i.e. already since a few years).</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- on Windows kdeinit is not used at all</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- there was nobody there who knew exactly about the situation on OSX</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- not sure about FreeBSD</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Proposal: get rid of our build magic to create kdeinit modules, and simply create PIE executables on platforms that support it (i.e. at least Linux, no problem for Windows), keeping the advantages we have there.</p>
</div></blockquote><div><br>somebody said it's still important/needed, then dirk said we don't need it because of PIE executables on linux?  Are we (cmake, etc.) building kde as PIE on linux already?<br></div></div>
<br>thanks,<br>Jeremy<br>