https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Asm.js Asm.js - Versionsgeschichte 2025-04-26T07:24:48Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.44.0-wmf.25 https://de.wikipedia.org/w/index.php?title=Asm.js&diff=227272619&oldid=prev H.Marxen: /* Codeerzeugung */ Suffix ist "das" 2022-10-22T23:51:27Z <p><span class="autocomment">Codeerzeugung: </span> Suffix ist &quot;das&quot;</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 23. Oktober 2022, 01:51 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 25:</td> <td colspan="2" class="diff-lineno">Zeile 25:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Da JavaScript keinen echten [[Integer (Datentyp)|Integer]]-Datentyp besitzt, wird für eine interne Konvertierung ein [[Bitweiser Operator|bitweises Oder]] durch das angefügte &lt;code&gt;|0&lt;/code&gt; durchgeführt. In asm.js wird <del style="font-weight: bold; text-decoration: none;">diese</del> Suffix als Hinweis für den Datentyp erkannt, sodass der AOT-Compiler die ursprünglich im C-Code genutzten Datentypen feststellen und den Code entsprechend optimieren kann. Während JavaScript eigentlich [[Dynamische Typisierung|dynamisch typisiert]] ist, verwendet asm.js-Code statische Typisierung. Dadurch werden die Konvertierungen zur Laufzeit des Codes überflüssig, was die Geschwindigkeit des Codes deutlich steigern kann.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Da JavaScript keinen echten [[Integer (Datentyp)|Integer]]-Datentyp besitzt, wird für eine interne Konvertierung ein [[Bitweiser Operator|bitweises Oder]] durch das angefügte &lt;code&gt;|0&lt;/code&gt; durchgeführt. In asm.js wird <ins style="font-weight: bold; text-decoration: none;">dieses</ins> Suffix als Hinweis für den Datentyp erkannt, sodass der AOT-Compiler die ursprünglich im C-Code genutzten Datentypen feststellen und den Code entsprechend optimieren kann. Während JavaScript eigentlich [[Dynamische Typisierung|dynamisch typisiert]] ist, verwendet asm.js-Code statische Typisierung. Dadurch werden die Konvertierungen zur Laufzeit des Codes überflüssig, was die Geschwindigkeit des Codes deutlich steigern kann.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Implementierungen ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Implementierungen ==</div></td> </tr> </table> H.Marxen https://de.wikipedia.org/w/index.php?title=Asm.js&diff=180082964&oldid=prev 134.3.80.238: WebAssembly Version 1 ist schon draußen 2018-08-17T01:28:33Z <p>WebAssembly Version 1 ist schon draußen</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 17. August 2018, 03:28 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 4:</td> <td colspan="2" class="diff-lineno">Zeile 4:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js besteht aus einer Teilmenge von JavaScript und wendet einige zusätzliche Konventionen an, sodass Code, der in statisch typisierten Sprachen mit manueller [[Speicherverwaltung]] (wie etwa C) geschrieben ist, durch [[Transcompiler]] wie [[Emscripten]] übersetzt werden kann. Durch die Beschränkung der Syntax kann der Code durch einen [[Ahead-of-time-Compiler]] oder auf andere Weisen optimiert werden.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js besteht aus einer Teilmenge von JavaScript und wendet einige zusätzliche Konventionen an, sodass Code, der in statisch typisierten Sprachen mit manueller [[Speicherverwaltung]] (wie etwa C) geschrieben ist, durch [[Transcompiler]] wie [[Emscripten]] übersetzt werden kann. Durch die Beschränkung der Syntax kann der Code durch einen [[Ahead-of-time-Compiler]] oder auf andere Weisen optimiert werden.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Aufbauend auf asm.js <del style="font-weight: bold; text-decoration: none;">wird</del> das Binärformat [[WebAssembly]] entwickelt.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Aufbauend auf asm.js <ins style="font-weight: bold; text-decoration: none;">wurde</ins> das Binärformat [[WebAssembly]] entwickelt.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Codeerzeugung ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Codeerzeugung ==</div></td> </tr> </table> 134.3.80.238 https://de.wikipedia.org/w/index.php?title=Asm.js&diff=163865377&oldid=prev Schnark: Änderung 163863959 von Trustable rückgängig gemacht; asm.js ist (rein syntaktisch gesehen) eine Teilmenge von ECMAScript und gehört daher in die Kategorie 2017-03-23T09:44:42Z <p>Änderung 163863959 von <a href="/wiki/Spezial:Beitr%C3%A4ge/Trustable" title="Spezial:Beiträge/Trustable">Trustable</a> rückgängig gemacht; asm.js ist (rein syntaktisch gesehen) eine Teilmenge von ECMAScript und gehört daher in die Kategorie</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 23. März 2017, 11:44 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 41:</td> <td colspan="2" class="diff-lineno">Zeile 41:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org/ Offizielle Website]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org/ Offizielle Website]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Mozilla]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Mozilla]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Web-Entwicklung]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Web-Entwicklung]]</div></td> </tr> </table> Schnark https://de.wikipedia.org/w/index.php?title=Asm.js&diff=163863959&oldid=prev Trustable am 23. März 2017 um 09:19 Uhr 2017-03-23T09:19:46Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 23. März 2017, 11:19 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 41:</td> <td colspan="2" class="diff-lineno">Zeile 41:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org/ Offizielle Website]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org/ Offizielle Website]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Mozilla]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Mozilla]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Web-Entwicklung]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Web-Entwicklung]]</div></td> </tr> </table> Trustable https://de.wikipedia.org/w/index.php?title=Asm.js&diff=162582945&oldid=prev Trustable: Kleinigkeiten verbessert 2017-02-12T18:34:25Z <p>Kleinigkeiten verbessert</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 12. Februar 2017, 20:34 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 33:</td> <td colspan="2" class="diff-lineno">Zeile 33:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [[Mozilla Firefox]] war der erste Browser mit asm.js-Optimierungen, erstmals in der Version 22.&lt;ref&gt;{{Internetquelle |url=https://www.mozilla.org/en-US/firefox/22.0/releasenotes/ |titel=Firefox Notes – Desktop |hrsg=mozilla.org |datum=2013-06-25 |zugriff=2016-09-10}}&lt;/ref&gt; Zuständig dafür ist der Ahead-of-time-Compiler OdinMonkey, der Bestandteil von [[SpiderMonkey]] ist.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [[Mozilla Firefox]] war der erste Browser mit asm.js-Optimierungen, erstmals in der Version 22.&lt;ref&gt;{{Internetquelle |url=https://www.mozilla.org/en-US/firefox/22.0/releasenotes/ |titel=Firefox Notes – Desktop |hrsg=mozilla.org |datum=2013-06-25 |zugriff=2016-09-10}}&lt;/ref&gt; Zuständig dafür ist der Ahead-of-time-Compiler OdinMonkey, der Bestandteil von [[SpiderMonkey]] ist.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Microsofts JavaScript-Engine Chakra, die in [[Microsoft Edge]] zum Einsatz kommt, erzeugt optimierten Code aus asm.js.&lt;ref&gt;{{Internetquelle |url=https://blogs.windows.com/msedgedev/2015/05/07/bringing-asm-js-to-chakra-microsoft-edge/ |titel=Bringing Asm.js to Chakra and Microsoft Edge |hrsg=windows.com |datum=2015-05-07 |sprache=en |zugriff=2016-09-10}}&lt;/ref&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Microsofts JavaScript-Engine Chakra, die in [[Microsoft Edge]] zum Einsatz kommt, erzeugt optimierten Code aus asm.js.&lt;ref&gt;{{Internetquelle |url=https://blogs.windows.com/msedgedev/2015/05/07/bringing-asm-js-to-chakra-microsoft-edge/ |titel=Bringing Asm.js to Chakra and Microsoft Edge |hrsg=windows.com |datum=2015-05-07 |sprache=en |zugriff=2016-09-10}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* In [[Google Chrome]] erzeugt [[V8 (JavaScript-Implementierung)|V8]] <del style="font-weight: bold; text-decoration: none;">seit</del> der Version 28 sehr schnellen Code aus asm.js.&lt;ref&gt;{{Internetquelle |url=http://blog.chromium.org/2013/05/chrome-28-beta-more-immersive-web.html |titel=Chrome 28 Beta: A more immersive web, everywhere |hrsg=chromium.org |datum=2013-05-23 |sprache=en |zugriff=2016-09-10}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* In [[Google Chrome]] erzeugt [[V8 (JavaScript-Implementierung)|V8]] <ins style="font-weight: bold; text-decoration: none;">ab</ins> der Version 28 sehr schnellen Code aus asm.js.&lt;ref&gt;{{Internetquelle |url=http://blog.chromium.org/2013/05/chrome-28-beta-more-immersive-web.html |titel=Chrome 28 Beta: A more immersive web, everywhere |hrsg=chromium.org |datum=2013-05-23 |sprache=en |zugriff=2016-09-10}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 39:</td> <td colspan="2" class="diff-lineno">Zeile 39:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org/<del style="font-weight: bold; text-decoration: none;"> asmjs.org]:</del> Offizielle Website</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org/ Offizielle Website<ins style="font-weight: bold; text-decoration: none;">]</ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> </tr> </table> Trustable https://de.wikipedia.org/w/index.php?title=Asm.js&diff=161988391&oldid=prev Xehpuk: Kommas 2017-01-25T15:38:07Z <p>Kommas</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 25. Januar 2017, 17:38 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{SEITENTITEL:asm.js}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{SEITENTITEL:asm.js}}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''asm.js''' ist ein [[Zwischencode]], der entworfen wurde um Software, die in Sprachen wie [[C (Programmiersprache)|C]] geschrieben wurde in [[Webanwendung<del style="font-weight: bold; text-decoration: none;">|Webanwendungen</del>]] zu nutzen, dabei aber eine bessere [[Rechenleistung|Performance]] zu erzielen als mit gewöhnlichem [[JavaScript]], das für solche Anwendungen verwendet wird.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''asm.js''' ist ein [[Zwischencode]], der entworfen wurde<ins style="font-weight: bold; text-decoration: none;">,</ins> um Software, die in Sprachen wie [[C (Programmiersprache)|C]] geschrieben wurde<ins style="font-weight: bold; text-decoration: none;">,</ins> in [[Webanwendung]]<ins style="font-weight: bold; text-decoration: none;">en</ins> zu nutzen, dabei aber eine bessere [[Rechenleistung|Performance]] zu erzielen als mit gewöhnlichem [[JavaScript]], das für solche Anwendungen verwendet wird.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js besteht aus einer Teilmenge von JavaScript und wendet einige zusätzliche Konventionen an, sodass Code, der in statisch typisierten Sprachen mit manueller [[Speicherverwaltung]] (wie etwa C) geschrieben ist, durch [[Transcompiler]] wie [[Emscripten]] übersetzt werden kann. Durch die Beschränkung der Syntax kann der Code durch einen [[Ahead-of-time-Compiler]] oder auf andere Weisen optimiert werden.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js besteht aus einer Teilmenge von JavaScript und wendet einige zusätzliche Konventionen an, sodass Code, der in statisch typisierten Sprachen mit manueller [[Speicherverwaltung]] (wie etwa C) geschrieben ist, durch [[Transcompiler]] wie [[Emscripten]] übersetzt werden kann. Durch die Beschränkung der Syntax kann der Code durch einen [[Ahead-of-time-Compiler]] oder auf andere Weisen optimiert werden.</div></td> </tr> </table> Xehpuk https://de.wikipedia.org/w/index.php?title=Asm.js&diff=157821948&oldid=prev Chewbacca2205: 168 Versionen von :en:Asm.js importiert: WP:IMP * Special:Diff/157807241 * user:Luke081515Bot 2016-09-10T18:59:14Z <p>168 Versionen von <a href="https://en.wikipedia.org/wiki/Asm.js" class="extiw" title="en:Asm.js">en:Asm.js</a> importiert: WP:IMP * <a href="/wiki/Spezial:Diff/157807241" title="Spezial:Diff/157807241">Special:Diff/157807241</a> * <a href="/wiki/Benutzer:Luke081515Bot" title="Benutzer:Luke081515Bot">user:Luke081515Bot</a></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <tr class="diff-title" lang="de"> <td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Version vom 10. September 2016, 20:59 Uhr</td> </tr><tr><td colspan="2" class="diff-notice" lang="de"><div class="mw-diff-empty">(kein Unterschied)</div> </td></tr></table> Chewbacca2205 https://de.wikipedia.org/w/index.php?title=Asm.js&diff=157809278&oldid=prev Lómelinde: kl. + Wikilink C 2016-09-10T10:04:06Z <p>kl. + Wikilink C</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 10. September 2016, 12:04 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 7:</td> <td colspan="2" class="diff-lineno">Zeile 7:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Codeerzeugung ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Codeerzeugung ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>asm.js wird in der Regel nicht direkt von Hand geschrieben, sondern durch einen Transcompiler aus Code erzeugt, der in Sprachen wie C oder<del style="font-weight: bold; text-decoration: none;"> </del>[[C++]] geschrieben ist.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>asm.js wird in der Regel nicht direkt von Hand geschrieben, sondern durch einen Transcompiler aus Code erzeugt, der in Sprachen wie <ins style="font-weight: bold; text-decoration: none;">[[</ins>C<ins style="font-weight: bold; text-decoration: none;"> (Programmiersprache)|C]]</ins> oder<ins style="font-weight: bold; text-decoration: none;"> </ins>[[C++]] geschrieben ist.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Ausgangspunkt ist daher meist Code wie die folgende in C geschriebene Funktion:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Ausgangspunkt ist daher meist Code wie die folgende in C geschriebene Funktion:</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 31:</td> <td colspan="2" class="diff-lineno">Zeile 31:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Alle Browser mit aktueller JavaScript-Unterstützung können asm.js-Code ausführen. Durch eine spezielle Implementierung kann asm.js-Code jedoch deutlich schneller ausgeführt werden. Dies findet unter anderem in folgenden Browsern statt:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Alle Browser mit aktueller JavaScript-Unterstützung können asm.js-Code ausführen. Durch eine spezielle Implementierung kann asm.js-Code jedoch deutlich schneller ausgeführt werden. Dies findet unter anderem in folgenden Browsern statt:</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [[Mozilla Firefox]] war der erste Browser mit asm.js-Optimierungen, erstmals in der Version 22.&lt;ref&gt;{{Internetquelle|url=https://www.mozilla.org/en-US/firefox/22.0/releasenotes/|titel=Firefox Notes <del style="font-weight: bold; text-decoration: none;">-</del> Desktop<del style="font-weight: bold; text-decoration: none;">|autor=</del>|hrsg=<del style="font-weight: bold; text-decoration: none;">|werk=</del>|datum=<del style="font-weight: bold; text-decoration: none;">|sprache=</del>|zugriff=2016-09-10}}&lt;/ref&gt; Zuständig dafür ist der Ahead-of-time-Compiler OdinMonkey, der Bestandteil von [[SpiderMonkey]] ist.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [[Mozilla Firefox]] war der erste Browser mit asm.js-Optimierungen, erstmals in der Version 22.&lt;ref&gt;{{Internetquelle<ins style="font-weight: bold; text-decoration: none;"> </ins>|url=https://www.mozilla.org/en-US/firefox/22.0/releasenotes/<ins style="font-weight: bold; text-decoration: none;"> </ins>|titel=Firefox Notes <ins style="font-weight: bold; text-decoration: none;">–</ins> Desktop<ins style="font-weight: bold; text-decoration: none;"> </ins>|hrsg=<ins style="font-weight: bold; text-decoration: none;">mozilla.org </ins>|datum=<ins style="font-weight: bold; text-decoration: none;">2013-06-25 </ins>|zugriff=2016-09-10}}&lt;/ref&gt; Zuständig dafür ist der Ahead-of-time-Compiler OdinMonkey, der Bestandteil von [[SpiderMonkey]] ist.</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Microsofts JavaScript-Engine Chakra, die in [[Microsoft Edge]] zum Einsatz kommt, erzeugt optimierten Code aus asm.js.&lt;ref&gt;{{Internetquelle|url=https://blogs.windows.com/msedgedev/2015/05/07/bringing-asm-js-to-chakra-microsoft-edge/|titel=Bringing Asm.js to Chakra and Microsoft Edge<del style="font-weight: bold; text-decoration: none;">|autor=</del>|hrsg=<del style="font-weight: bold; text-decoration: none;">|werk=</del>|datum=2015-05-07|sprache=en|zugriff=2016-09-10}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Microsofts JavaScript-Engine Chakra, die in [[Microsoft Edge]] zum Einsatz kommt, erzeugt optimierten Code aus asm.js.&lt;ref&gt;{{Internetquelle<ins style="font-weight: bold; text-decoration: none;"> </ins>|url=https://blogs.windows.com/msedgedev/2015/05/07/bringing-asm-js-to-chakra-microsoft-edge/<ins style="font-weight: bold; text-decoration: none;"> </ins>|titel=Bringing Asm.js to Chakra and Microsoft Edge<ins style="font-weight: bold; text-decoration: none;"> </ins>|hrsg=<ins style="font-weight: bold; text-decoration: none;">windows.com </ins>|datum=2015-05-07<ins style="font-weight: bold; text-decoration: none;"> </ins>|sprache=en<ins style="font-weight: bold; text-decoration: none;"> </ins>|zugriff=2016-09-10}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* In [[Google Chrome]] erzeugt [[V8 (JavaScript-Implementierung)|V8]] seit der Version 28 sehr schnellen Code aus asm.js.&lt;ref&gt;{{Internetquelle|url=http://blog.chromium.org/2013/05/chrome-28-beta-more-immersive-web.html|titel=Chrome 28 Beta: A more immersive web, everywhere<del style="font-weight: bold; text-decoration: none;">|autor=</del>|hrsg=<del style="font-weight: bold; text-decoration: none;">|werk=</del>|datum=2013-05-23|sprache=en|zugriff=2016-09-10}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* In [[Google Chrome]] erzeugt [[V8 (JavaScript-Implementierung)|V8]] seit der Version 28 sehr schnellen Code aus asm.js.&lt;ref&gt;{{Internetquelle<ins style="font-weight: bold; text-decoration: none;"> </ins>|url=http://blog.chromium.org/2013/05/chrome-28-beta-more-immersive-web.html<ins style="font-weight: bold; text-decoration: none;"> </ins>|titel=Chrome 28 Beta: A more immersive web, everywhere<ins style="font-weight: bold; text-decoration: none;"> </ins>|hrsg=<ins style="font-weight: bold; text-decoration: none;">chromium.org </ins>|datum=2013-05-23<ins style="font-weight: bold; text-decoration: none;"> </ins>|sprache=en<ins style="font-weight: bold; text-decoration: none;"> </ins>|zugriff=2016-09-10}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 39:</td> <td colspan="2" class="diff-lineno">Zeile 39:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org asmjs.org]: Offizielle Website</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org<ins style="font-weight: bold; text-decoration: none;">/</ins> asmjs.org]: Offizielle Website</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> </tr> </table> Lómelinde https://de.wikipedia.org/w/index.php?title=Asm.js&diff=157807350&oldid=prev Schnark: Code aufgeräumt 2016-09-10T08:21:47Z <p>Code aufgeräumt</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 10. September 2016, 10:21 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{SEITENTITEL:asm.js}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''asm.js''' ist ein [[Zwischencode]], der entworfen wurde um Software, die in Sprachen wie [[C (Programmiersprache)|C]] geschrieben wurde in [[Webanwendung|Webanwendungen]] zu nutzen, dabei aber eine bessere [[Rechenleistung|Performance]] zu erzielen als mit gewöhnlichem [[JavaScript]], das für solche Anwendungen verwendet wird.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''asm.js''' ist ein [[Zwischencode]], der entworfen wurde um Software, die in Sprachen wie [[C (Programmiersprache)|C]] geschrieben wurde in [[Webanwendung|Webanwendungen]] zu nutzen, dabei aber eine bessere [[Rechenleistung|Performance]] zu erzielen als mit gewöhnlichem [[JavaScript]], das für solche Anwendungen verwendet wird.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js besteht aus einer Teilmenge von JavaScript und wendet einige zusätzliche Konventionen an, sodass Code, der in statisch typisierten Sprachen mit manueller [[Speicherverwaltung]] (wie etwa C) geschrieben ist, durch [[Transcompiler]] wie [[Emscripten]] übersetzt werden kann. Durch die Beschränkung der Syntax kann der Code durch einen [[Ahead-of-time-Compiler]] oder auf andere Weisen optimiert werden.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js besteht aus einer Teilmenge von JavaScript und wendet einige zusätzliche Konventionen an, sodass Code, der in statisch typisierten Sprachen mit manueller [[Speicherverwaltung]] (wie etwa C) geschrieben ist, durch [[Transcompiler]] wie [[Emscripten]] übersetzt werden kann. Durch die Beschränkung der Syntax kann der Code durch einen [[Ahead-of-time-Compiler]] oder auf andere Weisen optimiert werden.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Aufbauend auf asm.js wird das Binärformat WebAssembly entwickelt.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Aufbauend auf asm.js wird das Binärformat <ins style="font-weight: bold; text-decoration: none;">[[</ins>WebAssembly<ins style="font-weight: bold; text-decoration: none;">]]</ins> entwickelt.</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Codeerzeugung ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Codeerzeugung ==</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js wird in der Regel nicht direkt von Hand geschrieben, sondern durch einen Transcompiler aus Code erzeugt, der in Sprachen wie C oder [[C++]] geschrieben ist.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>asm.js wird in der Regel nicht direkt von Hand geschrieben, sondern durch einen Transcompiler aus Code erzeugt, der in Sprachen wie C oder [[C++]] geschrieben ist.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Ausgangspunkt ist daher meist Code wie die folgende in C geschriebene Funktion:&lt;syntaxhighlight lang="c"&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Ausgangspunkt ist daher meist Code wie die folgende in C geschriebene Funktion:</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="c"&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>int f(int i) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>int f(int i) {</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return i + 1;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return i + 1;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">&lt;/syntaxhighlight&gt;</del>Emscripten übersetzt dies in folgenden JS-Code:&lt;syntaxhighlight lang="<del style="font-weight: bold; text-decoration: none;">ecmascript</del>"&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Emscripten übersetzt dies in folgenden JS-Code:</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="<ins style="font-weight: bold; text-decoration: none;">javascript</ins>"&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function f(i) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function f(i) {</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> i = i|0;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> i = i|0;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return (i + 1)|0;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return (i + 1)|0;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Der Absatz wurde verschoben. Klicken, um zur neuen Stelle zu springen." href="#movedpara_13_1_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_12_0_lhs"></a><del style="font-weight: bold; text-decoration: none;">&lt;/syntaxhighlight&gt;</del>Da JavaScript keinen echten [[Integer]]-Datentyp besitzt, wird für eine interne Konvertierung ein [[Bitweiser Operator|bitweises Oder]] durch das angefügte &lt;code&gt;|0&lt;/code&gt; durchgeführt. In asm.js wird diese Suffix als Hinweis für den Datentyp erkannt, sodass der AOT-Compiler die ursprünglich im C-Code genutzten Datentypen feststellen und den Code entsprechend optimieren kann. Während JavaScript eigentlich [[Dynamische Typisierung|dynamisch typisiert]] ist, verwendet asm.js-Code statische Typisierung. Dadurch werden die Konvertierungen zur Laufzeit des Codes überflüssig, was die Geschwindigkeit des Codes deutlich steigern kann.</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Der Absatz wurde verschoben. Klicken, um zur alten Stelle zu springen." href="#movedpara_12_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_13_1_rhs"></a>Da JavaScript keinen echten [[<ins style="font-weight: bold; text-decoration: none;">Integer (Datentyp)|</ins>Integer]]-Datentyp besitzt, wird für eine interne Konvertierung ein [[Bitweiser Operator|bitweises Oder]] durch das angefügte &lt;code&gt;|0&lt;/code&gt; durchgeführt. In asm.js wird diese Suffix als Hinweis für den Datentyp erkannt, sodass der AOT-Compiler die ursprünglich im C-Code genutzten Datentypen feststellen und den Code entsprechend optimieren kann. Während JavaScript eigentlich [[Dynamische Typisierung|dynamisch typisiert]] ist, verwendet asm.js-Code statische Typisierung. Dadurch werden die Konvertierungen zur Laufzeit des Codes überflüssig, was die Geschwindigkeit des Codes deutlich steigern kann.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Implementierungen ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Implementierungen ==</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 26:</td> <td colspan="2" class="diff-lineno">Zeile 31:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Alle Browser mit aktueller JavaScript-Unterstützung können asm.js-Code ausführen. Durch eine spezielle Implementierung kann asm.js-Code jedoch deutlich schneller ausgeführt werden. Dies findet unter anderem in folgenden Browsern statt:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Alle Browser mit aktueller JavaScript-Unterstützung können asm.js-Code ausführen. Durch eine spezielle Implementierung kann asm.js-Code jedoch deutlich schneller ausgeführt werden. Dies findet unter anderem in folgenden Browsern statt:</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [[Mozilla Firefox]] war der erste Browser mit asm.js-Optimierungen, erstmals in der Version 22.&lt;ref<del style="font-weight: bold; text-decoration: none;"> name="languages"</del>&gt;<del style="font-weight: bold; text-decoration: none;">&lt;cite class</del>=<del style="font-weight: bold; text-decoration: none;">"citation web"&gt;[</del>https://www.mozilla.org/en-US/firefox/22.0/releasenotes/<del style="font-weight: bold; text-decoration: none;"> "</del>Firefox <del style="font-weight: bold; text-decoration: none;">22.0</del> <del style="font-weight: bold; text-decoration: none;">release</del> <del style="font-weight: bold; text-decoration: none;">notes"]. &lt;/cite&gt;</del>&lt;/ref&gt; Zuständig dafür ist der Ahead-of-time-Compiler OdinMonkey, der Bestandteil von [[SpiderMonkey]] ist.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [[Mozilla Firefox]] war der erste Browser mit asm.js-Optimierungen, erstmals in der Version 22.&lt;ref&gt;<ins style="font-weight: bold; text-decoration: none;">{{Internetquelle|url</ins>=https://www.mozilla.org/en-US/firefox/22.0/releasenotes/<ins style="font-weight: bold; text-decoration: none;">|titel=</ins>Firefox <ins style="font-weight: bold; text-decoration: none;">Notes</ins> <ins style="font-weight: bold; text-decoration: none;">-</ins> <ins style="font-weight: bold; text-decoration: none;">Desktop|autor=|hrsg=|werk=|datum=|sprache=|zugriff=2016-09-10}}</ins>&lt;/ref&gt; Zuständig dafür ist der Ahead-of-time-Compiler OdinMonkey, der Bestandteil von [[SpiderMonkey]] ist.</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Microsofts JavaScript-Engine Chakra, die in [[Microsoft Edge]] zum Einsatz kommt, erzeugt optimierten Code aus asm.js.&lt;ref<del style="font-weight: bold; text-decoration: none;"> name="edge"</del>&gt;<del style="font-weight: bold; text-decoration: none;">&lt;cite class</del>=<del style="font-weight: bold; text-decoration: none;">"citation web"&gt;[</del>https://blogs.windows.com/msedgedev/2015/05/07/bringing-asm-js-to-chakra-microsoft-edge/<del style="font-weight: bold; text-decoration: none;"> "</del>Bringing Asm.js to Chakra and Microsoft Edge<del style="font-weight: bold; text-decoration: none;">"]. &lt;/cite&gt;</del>&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Microsofts JavaScript-Engine Chakra, die in [[Microsoft Edge]] zum Einsatz kommt, erzeugt optimierten Code aus asm.js.&lt;ref&gt;<ins style="font-weight: bold; text-decoration: none;">{{Internetquelle|url</ins>=https://blogs.windows.com/msedgedev/2015/05/07/bringing-asm-js-to-chakra-microsoft-edge/<ins style="font-weight: bold; text-decoration: none;">|titel=</ins>Bringing Asm.js to Chakra and Microsoft Edge<ins style="font-weight: bold; text-decoration: none;">|autor=|hrsg=|werk=|datum=2015-05-07|sprache=en|zugriff=2016-09-10}}</ins>&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* In [[Google Chrome]] erzeugt [[V8 (JavaScript-Implementierung)|V8]] seit der Version 28 sehr schnellen Code aus asm.js.&lt;ref<del style="font-weight: bold; text-decoration: none;"> name="chromiumblog"</del>&gt;<del style="font-weight: bold; text-decoration: none;">&lt;cite class</del>=<del style="font-weight: bold; text-decoration: none;">"citation web"&gt;[</del>http://blog.chromium.org/2013/05/chrome-28-beta-more-immersive-web.html<del style="font-weight: bold; text-decoration: none;"> "</del>Chrome 28 Beta: A more immersive web, everywhere<del style="font-weight: bold; text-decoration: none;">"]. &lt;/cite&gt;</del>&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* In [[Google Chrome]] erzeugt [[V8 (JavaScript-Implementierung)|V8]] seit der Version 28 sehr schnellen Code aus asm.js.&lt;ref&gt;<ins style="font-weight: bold; text-decoration: none;">{{Internetquelle|url</ins>=http://blog.chromium.org/2013/05/chrome-28-beta-more-immersive-web.html<ins style="font-weight: bold; text-decoration: none;">|titel=</ins>Chrome 28 Beta: A more immersive web, everywhere<ins style="font-weight: bold; text-decoration: none;">|autor=|hrsg=|werk=|datum=2013-05-23|sprache=en|zugriff=2016-09-10}}</ins>&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Der Absatz wurde verschoben. Klicken, um zur alten Stelle zu springen." href="#movedpara_19_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_17_0_rhs"></a>&lt;references /&gt;</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;div class="reflist columns references-column-width" style="-moz-column-width: 30em; list-style-type: decimal;"&gt;</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Der Absatz wurde verschoben. Klicken, um zur neuen Stelle zu springen." href="#movedpara_17_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_19_0_lhs"></a>&lt;references /<del style="font-weight: bold; text-decoration: none;">&gt;&lt;/div</del>&gt;</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* <del style="font-weight: bold; text-decoration: none;">&lt;span class="official-website"&gt;&lt;span class="url"&gt;</del>[http://asmjs.org asmjs.org]<del style="font-weight: bold; text-decoration: none;">&lt;/span&gt;&lt;/span&gt;&lt;span</del> <del style="font-weight: bold; text-decoration: none;">class="official-website"&gt;&lt;/span&gt;</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [http://asmjs.org asmjs.org]<ins style="font-weight: bold; text-decoration: none;">:</ins> <ins style="font-weight: bold; text-decoration: none;">Offizielle Website</ins></div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Mozilla]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Mozilla]]</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Web-Entwicklung]]</div></td> </tr> </table> Schnark https://de.wikipedia.org/w/index.php?title=Asm.js&diff=157807239&oldid=prev Schnark: Erstellt durch Übersetzen der Seite „Asm.js“ 2016-09-10T08:13:52Z <p>Erstellt durch Übersetzen der Seite „<a href="https://en.wikipedia.org/wiki/Special:Redirect/revision/737276824" class="extiw" title="en:Special:Redirect/revision/737276824">Asm.js</a>“</p> <a href="//de.wikipedia.org/w/index.php?title=Asm.js&amp;diff=157807239&amp;oldid=157821947">Änderungen zeigen</a> Schnark