Microsoft mentioned recently that they are all set to bring asm.js to Chakra and Microsoft’s new browser in Windows 10, Microsoft Edge. Microsoft developed asm.js with Mozilla. With the help of Mozilla and Unity Microsoft could bring asm.js to Chakra and Microsoft Edge.
Changes that integration of asm.js brings
Microsoft also mentions some of the changes that will take place due to integration of it in Chakra and Microsoft Edge.
- The addition of an asm.js validator, which helps Chakra identify and validate that the code adheres to the asm.js specification.
- Generation of optimized Type Specialized bytecode.
- Faster code compilation by Chakra’s JIT compiler. The code is typically generated by using the LLVM compiler and Emscripten toolchain. Chakra’s JIT compiler takes advantage of some of the optimizations that are already available in the asm.js source code generated by the LLVM compiler.
- Predictable performance by removal of bailouts from compiled asm.js code.
Though Microsoft is not ‘ready yet’, however they mention,
“This is an exciting step towards bringing asm.js to the web platform underneath Microsoft Edge.”
Read the complete information on asm.js on Microsoft Edge Dev Blog.
- Tags: Edge