Paul Krill
Editor at Large

Microsoft’s ChakraCore adds WebAssembly support

news
Dec 23, 20162 mins

Version 1.4 of the JavaScript engine core adds experimental support for the WebAssembly portable code format

assembly line in america manufacturing electronics
Credit: Thatonewikiguy

ChakraCore, the open source core of the JavaScript engine powering Microsoft’s Edge browser, has been upgraded with experimental support for the WebAssembly portable code format for browsers and cross-platform JIT compilation capabilities.

WebAssembly, which has been backed by browser vendors like Google, Microsoft, Mozilla, and Apple, is a highly touted portable bytecode technology intended to improve web performance.

The upgrade, known as version 1.4.0, also adds JIT support on Linux and MacOS, and out-of-process JIT support for Edge. This change adds support for hosts to optionally supply Chakra with an external process to act as a JIT server, which can support the running of any number of Chakra runtime clients.

Described as a “minor release” by a Microsoft representative, ChakraCore 1.4.0 also enables async functions by default and enhances time-travel debugging, which allows developers to look at faulting code within the full fidelity of the debugger with runtime context preserved. It works on a record-and-playback principle, with the record mode creating a trace file during execution that can then be played back.

For memory reduction, version 1.4.0 leverages function body redeferral. This covers redefer function bodies that are not currently being executed and are eligible for deferred parsing, Microsoft said.

JSRT (JavaScript Runtime) String APIs have been updated but are in an experimental phase; ChakraCore backs JSRT APIs for embedding ChakraCore in Applications. Version 1.4.0, also enables ShareArrayBuffer, once again under and experimental flag.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author