WebAssembly and All, All, All: #1.31 the latest News (the Good Parts)


WebAssembly, we have been waiting for it a
decade or more. Was it worth it? I think, WebAssembly is the big leap for the
web development. Hurray!.. Or not? We will see if it works well. [Music playing] Hi! Let’s talk today about WebAssembly and what
change it can bring to the Web Development. I’m Anatol and you are watching the Good Parts
of the Frontend development. [Music playing] Let’s kick off with the article titled “A
cartoon intro to WebAssembly” by Lin Clark on Mozzila Hacks. As you may heard, WebAssembly is fast. In this series you can learn what makes WebAssembly
fast. WASM reduces time spent across all 6 categories:
Parsing, Compiling + optimizing, Re-optimizing, Execution and Garbage collection. Unlike JavaScript, WebAssembly is a binary
format. Let’s turn to another article “Previewing
the WebAssembly Explorer” by Dan Callahan containing a very useful video tutorial. Using this Explorer you can facilitate WebAssembly
learning and understanding. WebAssembly: Under the hood with Mozilla. In this video you can get familiarized with
WebAssembly’s working principles, how this relates to JavaScript, and how it was all
developed. One more informative video is “WebAssembly:
A game changer for the Web”. It’s all about why WebAssebly allows developers
to build applications for the Web that run at near-native speeds. [Music playing] Mads Sejersen published “WebAssembly  – The
missing tutorial”. V8 supports WebAssembly starting from 2016,
but documentation is still far from good. So, this blog post covers the basics of WebAssembly
and how to export functions that operate on either integer or floating point values. The second part of this manual is “Interacting
with Javascript from WebAssembly”. Here you can read how to use WebAssembly modules
in your JavaScript. Valeri Karpov in his turn proposes to your
attention two erzatz-benchmark examples, where WebAssembly functions can play faster than
old good JavaScript. The author considers two trivial cases. The first one is a simple adding two numbers
and the second one is a function which computes factorial recursively. In second case, WebAssembly wins. [Music playing] If you’re ready to try WebAssembly, you’ll
definitely find the article “WebAssembly type-checking” by Ben Smith useful. In this blog post he describes how A Stack
Machine works and operations could be converted to WebAssembly. Finally, you can try to create your first
WebAssembly Hello World application. In the article “Build Your First Thing With
WebAssembly” Nick Larsen described how to write a JavaScript module in ASM.js notation
and transform it to a WebAssembly binary file. [Music playing] If you like this video give it “thumbs up”,
share it with your friends, subscribe to the channel and watch other episodes. [Music playing] This is all for this week. Thanks for watching and stay curious.

Leave a Reply

Your email address will not be published. Required fields are marked *