The genius minds at Google, Microsoft, Mozilla and Apple are coming together to create WebAssembly (also known as wasm). This is a new binary format – bytecode – to be used in browsers in future and promises about 20 times faster performance. Bytecode is a machine-readable instruction set that is faster for web browser to load as compared to high-level programming languages.
The reason behind this new binary format was to overcome the problems in the execution of JavaScript. The web hasn’t yet utilized the full potential of asm.js and the giants like Google, Microsoft, Apple and Mozilla are teaming up to create this successor.
JavaScript creator and former Mozilla CEO Brendan Eich said that asm.js is awesome but once the engine optimize for it, the parser becomes very hot spot especially on mobile devices. The transport compression is needed for compression to save bandwidth but the decompression before parsing hurts and overloads the system. He adds that JavaScript isn’t going away anywhere in future but WebAssembly would makes things easier.
WebAssembly will provide developers a single compilation target for the web and it will be developed as a web standard to be implemented in all browsers. This will make browsers more efficient target for compilers as compared to plain JavaScript.
WebAssembly is expected to grow into portable bytecode for browsers. The early prototypes are showing some advantages like the binary representation is 20 times faster to parse (compared to equivalent asm.js).
The main teams working on WebAssembly are PNaCl team of Google and asm.js team of Mozilla, and they are working to combine their best. There is no formal standards body behind it and it is still in the early stages of development but with major browser makers backing it, WebAssembly has a bright future.
With WebAssembly’s arrival, JavaScript isn’t going anywhere. It is expected that both of these will work side by side. TechCrunch writes that some parts of application may use WebAssembly based modules while the user interface will be written mostly in JavaScript.
Fossbytes co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security.
Get in touch with him by sending an email — [email protected]
Recently, Epic Games’ launched its own in-app payment system that allows it to bypass Google and Apple’s 30% fee. Epic Games also offered discounts up to 20% through its new payment service. However, Epic Games’ own payment system didn’t land well with Google and Apple. So, first Apple decided to kick off Fortnite from App…
Short Bytes: AWS (Amazon Web Services) dominates the public cloud with 57 percent share, and the operating system which is most popular on Amazon Cloud is none other than Ubuntu Linux. Read more to get better insights regarding the most popular operating system in cloud and other data.
t the Snapdragon Technology Summit, Qualcomm announced their new top-of-the-line SoC Snapdragon 845. The company says that the new Snapdragon is around 25% faster than its predecessors with the help of the octa-core Kryo 385 CPU clocked at 2.80GHz. The chip, based on ARM Cortex, is built using Samsung’s 2nd Gen 10nm LPP fabrication process and…
Ubisoft has officially revealed Assassin’s Creed Valhalla’s system requirements for PCs. A “Deep Dive” trailer, highlighting the game’s main features, has also been released at the same time. The game’s PC specs are categorized into five sections: Minimum, Recommended, High, Enthusiast, and Ultra. These distinct categories will give a clear idea of what playing the…
Just a couple of days have passed since Microsoft announced the new Surface Earbuds and the updated Surface Headphones 2 as part of its latest hardware launch. Microsoft said it worked on improving the audio quality, which means it also wants to be better recognized as a company selling audio products. Redmond has now released…
Random lags and freezes on Android OS are now a thing of the past, but once in a while, we get reminded of the past. A bunch of users took the internet to report a weird Android stability bug that’s causing their devices to become unresponsive. While the issue is visible more on Pixel devices,…