Now you can play BIG GAMES on you browser!! This technology will change the way we look at WebApps!

in #programming7 years ago

screenshot1.jpg

                     http://webassembly.org/demo/Tanks/

Hello everyone this is my first post on steemit! I am really excited about it :). Let's get going !!

So what is this post about?

Recently a technology called WEBASSEMBLY has come that will surely change the way web works. Google, Microsoft, Mozilla, and a few other people have been secretly working on this thing for quite a while and its going to be BIG!

What is WebAssembly?

  • A improved language: WebAssembly code defines an AST (Abstract Syntax Tree) represented in a binary format. You can author and debug in a text format.
  • Browser improvement: Browsers will understand binary format faster than javascript in some cases it is 20X faster than JS!
  • No javascript! Implement your stuff easily ;expect great performance and import it like a JS module.

wasm3.png
It’s much harder to get real work done when you’re writing directly in assembly language. So why do we need it?

WebAssembly gives us access to a set of low level building blocks that we can use to construct just about anything you can imagine.The key words are low-level.

WebAssembly fills in the gaps that cannot be filled with JavaScript.

Why do we need WebAssembly?

  • Its really Fast!
    The kind of binary format being considered for WebAssembly can be natively decoded much faster than JavaScript can be parsed (experiments show more than 20× faster).

  • Games On the Web!
    Games target PS4, XBox and PC. Now they could also be targeted at the web with WebGL and ASM.js, web audio and other APIs.

  • Apps On the Web!
    Music production apps like Ableton Live and video production apps like Adobe Premier Pro can be ported to the web.

  • Literally Everthing On the Web!
    Everything you can imagine with a computer can be done on web as this works on assembly code which is fundamental and most low-level part of the computer.

Please look at the following talks for more info!

  • Brendan Eich on JavaScript Taking Both the High and Low Roads
    (
)
  • WebAssembly will change the way we think of "Web Apps"
    (
  • )
  • Will WebAssembly overtake JavaScript in Web Development?
    (
  • )