<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Wie programmiere ich performant? Literaturtipps?]]></title><description><![CDATA[<p>Hallo, Leute!<br />
Kann mir jemand Bücher/URLs zum Thema &quot;Wie programmiere ich performant?&quot; empfehlen?<br />
Oder sonstige Tipps wie ich da vorgehen kann?<br />
Viele Grüße und vielen Dank<br />
Sören</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/194624/wie-programmiere-ich-performant-literaturtipps</link><generator>RSS for Node</generator><lastBuildDate>Mon, 29 Jun 2026 02:23:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/194624.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Oct 2007 08:28:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 08:28:48 GMT]]></title><description><![CDATA[<p>Hallo, Leute!<br />
Kann mir jemand Bücher/URLs zum Thema &quot;Wie programmiere ich performant?&quot; empfehlen?<br />
Oder sonstige Tipps wie ich da vorgehen kann?<br />
Viele Grüße und vielen Dank<br />
Sören</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381015</guid><dc:creator><![CDATA[soerenP]]></dc:creator><pubDate>Tue, 09 Oct 2007 08:28:48 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 09:19:55 GMT]]></title><description><![CDATA[<p>Wie wäre es mit einem Algorithmus-Buch. Die Wahl der richtigen Datenstrukturen und Algorithmen ist ja idr der entscheidende Faktor.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381067</guid><dc:creator><![CDATA[rüdiger]]></dc:creator><pubDate>Tue, 09 Oct 2007 09:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 09:41:49 GMT]]></title><description><![CDATA[<p>soerenP schrieb:</p>
<blockquote>
<p>Kann mir jemand Bücher/URLs zum Thema &quot;Wie programmiere ich performant?&quot; empfehlen?</p>
</blockquote>
<p>Meinst du jetzt wie man möglichst wenig Tastendrücke braucht? Oder willst du performante Programme schreiben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381082</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381082</guid><dc:creator><![CDATA[fooBarFighter]]></dc:creator><pubDate>Tue, 09 Oct 2007 09:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 09:49:19 GMT]]></title><description><![CDATA[<p>Hört sich auf den ersten Blick nicht so allgemein an (Algorithmen), wie ichs gerne hätte, aber ich schau auf jeden Fall mal nach, danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381089</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381089</guid><dc:creator><![CDATA[soerenP]]></dc:creator><pubDate>Tue, 09 Oct 2007 09:49:19 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 09:51:50 GMT]]></title><description><![CDATA[<p>fooBarFighter schrieb:</p>
<blockquote>
<p>Meinst du jetzt wie man möglichst wenig Tastendrücke braucht? Oder willst du performante Programme schreiben?</p>
</blockquote>
<p>Nein, die Programme sollten performant werden. So faul bin ich dann doch nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381090</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381090</guid><dc:creator><![CDATA[soerenP]]></dc:creator><pubDate>Tue, 09 Oct 2007 09:51:50 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 09:56:57 GMT]]></title><description><![CDATA[<p>Also, ich hatte mir in etwa so etwas vogestellt:<br />
Was sollte man in seinem Programm vermeiden? Was frisst unnötig Prozessorleistung?<br />
Wo lohnt es sich z.B. an Überichlichkeit zu sparen, wenn es dafür schneller wird...<br />
Wie regele ich am besten die Kommunikation zwischen Objekten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381096</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381096</guid><dc:creator><![CDATA[soerenP]]></dc:creator><pubDate>Tue, 09 Oct 2007 09:56:57 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 12:01:26 GMT]]></title><description><![CDATA[<p>Es gibt keine einfache Antwort auf diese Frage. Warum das so ist kann man in diesem Artikel gut nachlesen:</p>
<p><a href="http://www.acm.org/ubiquity/views/v7i24_fallacy.html" rel="nofollow">http://www.acm.org/ubiquity/views/v7i24_fallacy.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381201</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381201</guid><dc:creator><![CDATA[skals]]></dc:creator><pubDate>Tue, 09 Oct 2007 12:01:26 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 13:20:07 GMT]]></title><description><![CDATA[<p>Ich finde, Du solltest TAOCP lesen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381280</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381280</guid><dc:creator><![CDATA[Gregor]]></dc:creator><pubDate>Tue, 09 Oct 2007 13:20:07 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Tue, 09 Oct 2007 14:20:27 GMT]]></title><description><![CDATA[<p>Ich kenn nur TAFKAP <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
Nein, habs gegooglet, ich schaus mir mal an.<br />
Vielen Dank an alle!<br />
Sören</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381354</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381354</guid><dc:creator><![CDATA[soerenP]]></dc:creator><pubDate>Tue, 09 Oct 2007 14:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 08:51:35 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>versuchs mal mit</p>
<p>Scott Meyers Effektiv C++ programmieren&quot;</p>
<p>Scott Meyers &quot;Mehr Effektiv C++ programmieren&quot;</p>
<p>oder ich sag mal so: Kreative Faulheit. Nichts machen was nicht muß und immer nur das machen was muß und nichts doppelt.<br />
Keine Objekte mit Standardargumenten erstellen und dann ändern, sondern gleich mit aktuellen Argumenten erstellen.<br />
Nur das berechnen, was auch wirklich weiter verwendet wird.<br />
Mit Exceptions sparsam umgehen, nicht als Steuerstrukturen verwenden...<br />
Niedrige Operationen verwenden, also besser Shift als Multiplikation wenn das möglich ist, Addition vor Multiplikation, zur Compilezeit berechenbare Werte auch dort berechnen, tief geschachtelte Felder vermeiden...<br />
Und letztlich gilt immer noch, daß kleinere Programme nicht so viel Code durchschleusen müssen und daher schon von Hause aus eine Chance haben effizienter zu sein. (natürlich bei sonst gleicher Programmqualität.)</p>
<p>Gruß Mümmel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381822</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381822</guid><dc:creator><![CDATA[muemmel]]></dc:creator><pubDate>Wed, 10 Oct 2007 08:51:35 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 09:00:00 GMT]]></title><description><![CDATA[<p>soerenP schrieb:</p>
<blockquote>
<p>Hört sich auf den ersten Blick nicht so allgemein an (Algorithmen), wie ichs gerne hätte, aber ich schau auf jeden Fall mal nach, danke!</p>
</blockquote>
<p>Du suchst was allgemeineres als das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381827</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381827</guid><dc:creator><![CDATA[Jester]]></dc:creator><pubDate>Wed, 10 Oct 2007 09:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 09:01:38 GMT]]></title><description><![CDATA[<p>muemmel schrieb:</p>
<blockquote>
<p>Niedrige Operationen verwenden, also besser Shift als Multiplikation wenn das möglich ist,</p>
</blockquote>
<p>Ein klassisches Beispiel für premature Optimizing... Auf modernen Prozessoren können Multiplikationen sogar schneller sein als bit-shifting.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381831</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381831</guid><dc:creator><![CDATA[skals]]></dc:creator><pubDate>Wed, 10 Oct 2007 09:01:38 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 09:49:02 GMT]]></title><description><![CDATA[<p>skals schrieb:</p>
<blockquote>
<p>Auf modernen Prozessoren können Multiplikationen sogar schneller sein als bit-shifting.</p>
</blockquote>
<p>Achja? Nenne bitte ein Beispiel!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381875</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381875</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Wed, 10 Oct 2007 09:49:02 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 12:53:25 GMT]]></title><description><![CDATA[<p>Egal was von beiden schneller ist, von einem zeitgemäßen Compiler kann man erwarten, daß er vernünftig optimiert. Und die Entscheidung ob Shift oder Multiplikation schneller ist, dürfte eine der einfachsten sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382051</guid><dc:creator><![CDATA[Tyrdal]]></dc:creator><pubDate>Wed, 10 Oct 2007 12:53:25 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 12:55:20 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>skals schrieb:</p>
<blockquote>
<p>Auf modernen Prozessoren können Multiplikationen sogar schneller sein als bit-shifting.</p>
</blockquote>
<p>Achja? Nenne bitte ein Beispiel!</p>
</blockquote>
<p>jede cpu mit SSE.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382054</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382054</guid><dc:creator><![CDATA[rapso]]></dc:creator><pubDate>Wed, 10 Oct 2007 12:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 13:18:51 GMT]]></title><description><![CDATA[<p>Vielleicht suchst du sowas:<br />
<a href="https://duckduckgo.com/?q=isbn+0201379503&amp;cppnetbooks" rel="nofollow">Efficient C++ | ISBN: 0201379503</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382086</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382086</guid><dc:creator><![CDATA[Redhead]]></dc:creator><pubDate>Wed, 10 Oct 2007 13:18:51 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 13:40:42 GMT]]></title><description><![CDATA[<p>rapso schrieb:</p>
<blockquote>
<p>Kilo Byte = 1000, 1 Kilobyte = 1024, da Eigenbegriff</p>
</blockquote>
<p>falsch, 1 kilobyte = 1000 bytes. 1024 bytes = 1 kibibyte.<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382116</guid><dc:creator><![CDATA[Byty]]></dc:creator><pubDate>Wed, 10 Oct 2007 13:40:42 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 14:23:17 GMT]]></title><description><![CDATA[<p>Du solltest besonders auf minmalen Speicherverbrauch achten! Speicherzugriffe sind im Vergleich zu der Rechengeschwindigkeit moderne CPUs teuer!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382150</guid><dc:creator><![CDATA[&#x2F;.]]></dc:creator><pubDate>Wed, 10 Oct 2007 14:23:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 14:27:29 GMT]]></title><description><![CDATA[<p>muemmel schrieb:</p>
<blockquote>
<p>Und letztlich gilt immer noch, daß kleinere Programme nicht so viel Code durchschleusen müssen und daher schon von Hause aus eine Chance haben effizienter zu sein. (natürlich bei sonst gleicher Programmqualität.)</p>
</blockquote>
<p>Nicht wirklich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382154</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382154</guid><dc:creator><![CDATA[och nö]]></dc:creator><pubDate>Wed, 10 Oct 2007 14:27:29 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 17:32:21 GMT]]></title><description><![CDATA[<p>rapso schrieb:</p>
<blockquote>
<p>hustbaer schrieb:</p>
<blockquote>
<p>skals schrieb:</p>
<blockquote>
<p>Auf modernen Prozessoren können Multiplikationen sogar schneller sein als bit-shifting.</p>
</blockquote>
<p>Achja? Nenne bitte ein Beispiel!</p>
</blockquote>
<p>jede cpu mit SSE.</p>
</blockquote>
<p>Hihi, ok, wenn was parallel geht dann stimmt das <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
Die muss man halt im Moment selbst mit intrinsics/inline asm schreiben da es noch keinen wirklich guten SSE Vectorizer gibt (oder bin ich nur nichtmehr am Laufenden?).</p>
<p>-----</p>
<p>z.T. Programmgrösse: es kommt eigentlich nur drauf an wie gross der oft durchlaufene Code im Vergleich zum Cache ist. Wenn ein Programm komplett in den Cache passt, ein anderes (welches das gleiche tut) dagegen nicht, dann macht das schon meist einen Unterschied.</p>
<p>Wenn beide komplett in den L1 Cache passen ist es natürlich egal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382288</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382288</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Wed, 10 Oct 2007 17:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 18:05:16 GMT]]></title><description><![CDATA[<p>Das kommt drauf an. Der Algorithmus ist entscheidender.</p>
<p>Besser nen Quicksort der nicht in den L1 Cache passt als ein Bubbe sort der reinpasst. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382309</guid><dc:creator><![CDATA[MisterX]]></dc:creator><pubDate>Wed, 10 Oct 2007 18:05:16 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Wed, 10 Oct 2007 18:59:02 GMT]]></title><description><![CDATA[<p>bevor man performant programmiert, sollte man lernen, effizient zu programmieren. das erste ziel sollte immer ein solider entwurf sein. fragen die man dabei bewegen sollte sind:<br />
- was genau ist das problem<br />
- lässt sich das problem durch ein standard pattern abbilden (ist in 95% der fälle wahr)<br />
- welche teilaufgaben gibt es und welche algorithmen werden benötigt</p>
<p>wenn man das alles weiss, hat man schon die halbe miete. optimierung von performanz ist dann eine detailaufgabe.<br />
zur frage effizienz ist das buch &quot;der pragmatische programmierer&quot; relativ empfehlenswert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382342</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382342</guid><dc:creator><![CDATA[thordk]]></dc:creator><pubDate>Wed, 10 Oct 2007 18:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Thu, 11 Oct 2007 00:21:00 GMT]]></title><description><![CDATA[<p>MisterX schrieb:</p>
<blockquote>
<p>Das kommt drauf an. Der Algorithmus ist entscheidender.</p>
<p>Besser nen Quicksort der nicht in den L1 Cache passt als ein Bubbe sort der reinpasst. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
</blockquote>
<p>Richtig. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> Ich bin davon ausgegangen dass beide Programme die gleichen Algorithmen verwenden, obwohl das aus meinem Posting nicht klar hervorgeht wie ich jetzt sehe.</p>
<p>Und man könnte das wahrscheinlich noch unendlich lange fortsetzen mit anderen Dingen (Quicksort ist z.B. nicht optimal für jeden Input was Grösse angeht oder ob die Elemente schon grossteils &quot;vorsortiert&quot; sind uswusf).</p>
<p>Ich wollte eigentlich nur feststellen dass Codegrösse sehr wohl einen Einfluss haben kann. Wie gross der ist und ob nicht andere Faktoren überwiegen ist wieder eine andere Sache, am Besten man probiert es einfach aus.</p>
<p>Genauso (was aber schon erwähnt wurde) kann es einen Unterschied machen wieviel Byte/KB/MB an Daten man angreifen muss, und in welcher Reihenfolge man die Zugriffe macht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382491</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382491</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Thu, 11 Oct 2007 00:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Thu, 11 Oct 2007 04:53:11 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>Ich wollte eigentlich nur feststellen dass Codegrösse sehr wohl einen Einfluss haben kann. Wie gross der ist und ob nicht andere Faktoren überwiegen ist wieder eine andere Sache, am Besten man probiert es einfach aus.</p>
</blockquote>
<p>Es ist aber wohl eines der unwichtigsten Dinge wenn es um Performance geht. Bevor man krampfhaft versuch kleinen Code zu schreiben gibt es 1000 andere Dinge die wichtiger sind. Das ist einfach das Problem bei solchen Threads, dass hier immer wieder solche &quot;tollen Tricks&quot; aufgezählt werden und einige Leute dann versuchen so ihren Code schnell zu bekommen, anstatt die passenden Algorithmen und Datenstrukturen zu verwenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382513</guid><dc:creator><![CDATA[och nö]]></dc:creator><pubDate>Thu, 11 Oct 2007 04:53:11 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Thu, 11 Oct 2007 07:49:05 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>rapso schrieb:</p>
<blockquote>
<p>hustbaer schrieb:</p>
<blockquote>
<p>skals schrieb:</p>
<blockquote>
<p>Auf modernen Prozessoren können Multiplikationen sogar schneller sein als bit-shifting.</p>
</blockquote>
<p>Achja? Nenne bitte ein Beispiel!</p>
</blockquote>
<p>jede cpu mit SSE.</p>
</blockquote>
<p>Hihi, ok, wenn was parallel geht dann stimmt das <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
Die muss man halt im Moment selbst mit intrinsics/inline asm schreiben da es noch keinen wirklich guten SSE Vectorizer gibt (oder bin ich nur nichtmehr am Laufenden?).</p>
</blockquote>
<p>wenn man den code fuer den compiler freundlich schreibt, dann kann er das mitlerweile zu nem gewissen grad vektorisieren. besonders bei speicherverschiebung laeuft das recht gut, ob das auf mul zutrifft kann ich jedoch nicht sagen. jedoch bezog sich meine antwort rein darauf, dass bit-shift in SSE immer noch nicht geht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382581</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382581</guid><dc:creator><![CDATA[rapso]]></dc:creator><pubDate>Thu, 11 Oct 2007 07:49:05 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich performant? Literaturtipps? on Thu, 11 Oct 2007 07:49:52 GMT]]></title><description><![CDATA[<p>Byty schrieb:</p>
<blockquote>
<p>rapso schrieb:</p>
<blockquote>
<p>Kilo Byte = 1000, 1 Kilobyte = 1024, da Eigenbegriff</p>
</blockquote>
<p>falsch, 1 kilobyte = 1000 bytes. 1024 bytes = 1 kibibyte.<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
</blockquote>
<p>als das kilobyte erfunden wurde vor jahrzehnten, gab es sicher kein kiwibyte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1382582</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1382582</guid><dc:creator><![CDATA[rapso]]></dc:creator><pubDate>Thu, 11 Oct 2007 07:49:52 GMT</pubDate></item></channel></rss>