Wednesday , July 24 2019
Download Free Templates Joomla! 3
Home / Browsers / Internet Explorer / Microsoft Enabled asm.js for Windows Edge Browser

Microsoft Enabled asm.js for Windows Edge Browser

In the June 2015 Microsoft introced preview supports for asm.js and it is now supported by default in Microsoft Edge starting with Microsoft EdgeHTML 13.10532. asm-optimized code will be helpful and Hosted Web Applications and the WebView in any Universal Windows Application can now benefitted.

What is asm.js?

From Microsoft Site:

Asm.js is a strict subset of JavaScript that can be used as a low-level and efficient compile target. It applies constraints such as static typing to enable opportunities for optimizations, such as type specialized compilation without bailouts and ahead-of-time (AOT) compilation. These optimizations allow asm.js code to have near-native performance and predictable behavior. A popular way of using asm.js is porting C/C++ projects to asm.js with Emscripten (an LLVM to JavaScript compiler).

To demonstrate the asm.js performance MS has given a demo with chess battle

Chess Demo

Launch F12, navigate to the Debugger tab and disconnect the debugger using the connect/disconnect debugger button:

Next, switch to the Console tab and view all console messages there.

You can try it out yourself in the Windows 10 Insider Preview fast or slow rings. On the stable release of Microsoft Edge, you can enable asm.js for Microsoft Edge by navigating to about:flags.

In addition to Chess Battle demo, several other asm.js demos are available online for you to explore and to have some fun with, including Angry Bots, Tappy Chicken, ogv.js, and the demos listed here 


About admin

Leave a Reply

Your email address will not be published. Required fields are marked *