Microsoft partners with Mozilla and Google to develop new binary format for web

WebAssembly

World’s most popular technology giants Microsoft, Mozilla, Google and other corporations are partnered to develop a new binary format for the web. These companies are together working on the new project called WebAssembly which is the compliant target for the web. Microsoft has officially stated that,

At Microsoft, we strongly believe that the compile-to-web story has a promising future. Working towards this future, we are adding special optimizations for asm.js in Edge on Windows 10. We think this is the start of an exciting path for having your non-JavaScript source code run quickly and harmoniously with the rest of the web, and we can continue building on what we’ve done with asm.js to make compiling to the web even better.

The main aim of the WebAssembly is to deliver the JavaScript files in binary format which can load faster than the regular javascript files which will boost the website loading time on browsers, specifically on mobile. By default, javascript files are the simple text files and they are parsed and complied by the JavaScript in the browser.

Microsoft has shared the following goals for the WebAssembly project,

  • Interoperability with JavaScript: The web already has a vibrant ecosystem and anything we add should nicely interface with it.
  • Broad language support: We should be able to compile you code in language of your choice.
  • High Performance: To be an applicable way to bring your programs to the web, we need close to native performance.

Mozilla’s asm.js has long aimed to bring near native speeds to the web. Google’s native client project for running the native code in the browser had similar aims, but received little suction. WebBrowser seems like aiming to bring the best of these projects to the browser now. As a part of this, WebAssembly team aims to offer the same functionality as asm.js.

Currently all these companies are now experimenting and discussing the design ideas for the WebAssembly project.

You may also like...