Linked by Thom Holwerda on Thu 18th Jun 2015 16:15 UTC
General Development

But the people calling for a bytecode for the browser never went away, and they were never entirely wrong about the perceived advantages. And now they're going to get their wish. WebAssembly is a new project being worked on by people from Mozilla, Microsoft, Google, and Apple, to produce a bytecode for the Web.

WebAssembly, or wasm for short, is intended to be a portable bytecode that will be efficient for browsers to download and load, providing a more efficient target for compilers than plain JavaScript or even asm.js. Like, for example, .NET bytecode, wasm instructions operate on native machine types such as 32-bit integers, enabling efficient compilation. It's also designed to be extensible, to make it easy to add, say, support for SIMD instruction sets like SSE and AVX.

Permalink for comment 612727
To read all comments associated with this story, please click here.
RE[3]: OMG
by sukru on Thu 18th Jun 2015 20:35 UTC in reply to "RE[2]: OMG"
sukru
Member since:
2006-11-19

We have HTML (5) for that. However separating format, layout, and content in HTML requires discipline, and mastery in CSS-fu, which does not happen all too often.

It is quite possible to write structured HTML which layout and format neutral, and use separate CSS files for managing layout (i.e: mobile, print, etc), and format (i.e.: beautify). Of course, so far the only reasonable option for behavior was JavaScript, which could be fixed by this, or similar initiatives.

Edited 2015-06-18 20:35 UTC

Reply Parent Score: 4