Windows 10 to support asm.js in IE Chakra JS engine

Microsoft has joined the asm.js bandwagon, and will bring support for the speedy JavaScript subset to its next major version of Windows.

JavaScript performance in Windows 10 is set to get even faster, with Microsoft announcing on Thursday that it will support Mozilla's asm.js optimisations in the next version of its Chakra JavaScript engine set to appear in the major version of Windows.

Microsoft said in a blog post that it chose to add support for asm.js to increase JavaScript performance, and for the ability for browsers that do not support the asm.js subset to fallback to regular JavaScript execution.

"This means that engines that support asm.js light up the new features, while engines that don't will simply run with degraded performance," the company said.

"Asm.js is a clear step towards enabling near-native performance for the web platform, which is why we're excited to bring it to Chakra in an upcoming release."

Mozilla developer Luke Wagner said that momentum is starting to build behind asm.js.

"This is a strong vote of confidence by Microsoft in asm.js and the overall compile-to-web story," he said. "I look forward to collaborating with Microsoft and other browser vendors on taking asm.js to new levels of predictable, near-native performance."

By taking a subset of JavaScript and improving its performance with ahead-of-time compilation into native code, asm.js is able to approach native execution speeds and offer developers the ability to cross-compile from a number of statically typed languages.

With the addition of IE, support for asm.js will eventually appear across all three major browsers used today -- Firefox, Chrome, and IE.