<story><title>Bringing asm.js to the Chakra JavaScript engine in Windows 10</title><url>http://blogs.msdn.com/b/ie/archive/2015/02/18/bringing-asm-js-to-the-chakra-javascript-engine-in-windows-10.aspx</url></story><parent_chain><item><author>jerf</author><text>&amp;quot;For example, will asm.js eventually take over traditional web development? Theoretically, you can compile any compiled language to asm.js, so you&amp;#x27;ll have a lot more choice for the language you want to use to create your webapps.&amp;quot;&lt;p&gt;I&amp;#x27;ve outlined this progression before, which seems obvious to me, but I haven&amp;#x27;t seen anyone else discuss it.&lt;p&gt;&lt;pre&gt;&lt;code&gt;    1. Get asm.js into every browser.
    2 or 3. Observe that asm.js is very verbose, define a simple
            binary bytecode for it.
    3 or 2. Figure out how to get asm.js decent DOM access.
&lt;/code&gt;&lt;/pre&gt;
The last two can come in either order.&lt;p&gt;And the end result is the language-independent bytecode that so many people have asked for over the years. We just won&amp;#x27;t get there in one leap, it&amp;#x27;ll come in phases. We in fact won&amp;#x27;t be using Javascript for everything in 20 years [1], but those of you still around will be explaining to the young bucks why certain stupid quirks of their web browser&amp;#x27;s bytecode execution environment can be traced back to &amp;quot;Javascript&amp;quot;, even when they&amp;#x27;re not using the increasingly-deprecated Javascript programming language.&lt;p&gt;[1]: &lt;a href=&quot;https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.destroyallsoftware.com&amp;#x2F;talks&amp;#x2F;the-birth-and-death...&lt;/a&gt;</text></item><item><author>gitaarik</author><text>Nice, now that Firefox, Chrome and IE will support it, I think asm.js will become available in most serious browsers, which is a great thing.&lt;p&gt;It will be interesting to see what kind of impact it will have. For example, will asm.js eventually take over traditional web development? Theoretically, you can compile any compiled language to asm.js, so you&amp;#x27;ll have a lot more choice for the language you want to use to create your webapps. It won&amp;#x27;t really be web though: no markup, no links, but yeah, with the current heavily based javascript apps that&amp;#x27;s also debatable. Also asm.js still has a lot of limitations and disadvantages that won&amp;#x27;t make it just as easy yet.</text></item></parent_chain><comment><author>beagle3</author><text>&amp;gt; Observe that asm.js is very verbose, define a simple binary bytecode for it.&lt;p&gt;I suspect that is never going to happen, for two reasons:&lt;p&gt;1) verbosity, on its own, does not make a difference on the web - HTML and Javascript are both generally super verbose, and haven&amp;#x27;t had any accepted &amp;quot;simple binary encoding&amp;quot; designed for them in those 20 years. What does get implemented is minifiers and compressors (gzip encoding or otherwise), both of which will provide benefits to asm.js comparable to what a bytecode would, and would not require any buy-in from browser maker (the same attribute that has made asm.js successful and PNaCL unsuccessful so far).&lt;p&gt;2) Historically, anything that is not backwards compatible and does not degrade gracefully is NOT easily adopted by Browser makers, or by websites, unless it provides something that cannot be achieved without it (e.g. WebGL gets some adoption because there is no alternative; but ES6 will get little to non in the next 3 years except as a source language translated to ES5)</text></comment>
<story><title>Bringing asm.js to the Chakra JavaScript engine in Windows 10</title><url>http://blogs.msdn.com/b/ie/archive/2015/02/18/bringing-asm-js-to-the-chakra-javascript-engine-in-windows-10.aspx</url></story><parent_chain><item><author>jerf</author><text>&amp;quot;For example, will asm.js eventually take over traditional web development? Theoretically, you can compile any compiled language to asm.js, so you&amp;#x27;ll have a lot more choice for the language you want to use to create your webapps.&amp;quot;&lt;p&gt;I&amp;#x27;ve outlined this progression before, which seems obvious to me, but I haven&amp;#x27;t seen anyone else discuss it.&lt;p&gt;&lt;pre&gt;&lt;code&gt;    1. Get asm.js into every browser.
    2 or 3. Observe that asm.js is very verbose, define a simple
            binary bytecode for it.
    3 or 2. Figure out how to get asm.js decent DOM access.
&lt;/code&gt;&lt;/pre&gt;
The last two can come in either order.&lt;p&gt;And the end result is the language-independent bytecode that so many people have asked for over the years. We just won&amp;#x27;t get there in one leap, it&amp;#x27;ll come in phases. We in fact won&amp;#x27;t be using Javascript for everything in 20 years [1], but those of you still around will be explaining to the young bucks why certain stupid quirks of their web browser&amp;#x27;s bytecode execution environment can be traced back to &amp;quot;Javascript&amp;quot;, even when they&amp;#x27;re not using the increasingly-deprecated Javascript programming language.&lt;p&gt;[1]: &lt;a href=&quot;https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.destroyallsoftware.com&amp;#x2F;talks&amp;#x2F;the-birth-and-death...&lt;/a&gt;</text></item><item><author>gitaarik</author><text>Nice, now that Firefox, Chrome and IE will support it, I think asm.js will become available in most serious browsers, which is a great thing.&lt;p&gt;It will be interesting to see what kind of impact it will have. For example, will asm.js eventually take over traditional web development? Theoretically, you can compile any compiled language to asm.js, so you&amp;#x27;ll have a lot more choice for the language you want to use to create your webapps. It won&amp;#x27;t really be web though: no markup, no links, but yeah, with the current heavily based javascript apps that&amp;#x27;s also debatable. Also asm.js still has a lot of limitations and disadvantages that won&amp;#x27;t make it just as easy yet.</text></item></parent_chain><comment><author>ndesaulniers</author><text>Hey, you&amp;#x27;re good at this. ;)&lt;p&gt;It&amp;#x27;s funny to see that people so opposed to JS are too short sighted to see that asm.js could enable what they&amp;#x27;ve wanted all along.  Look at that!</text></comment>