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.

Thread beginning with comment 612727
To view parent comment, click here.
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

RE[4]: OMG
by biffuz on Fri 19th Jun 2015 07:04 in reply to "RE[3]: OMG"
biffuz Member since:
2006-03-27

[q]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.[/quote]
And that's exactly the problem. Current HTML layouting is utterly broken. I see web developers at work - they spend hours and hours to design and fix the layout for every damn browser.
And when they're done, someone else comes in and adds something that breaks everything. The situation is bad especially in mobile.

Reply Parent Score: 2