How does WebAssembly actually work? Go beyond compilers and see its stack machine and raw text format in action, live-coded from scratch.
#1about 2 minutes
What WebAssembly is and its role on the web
WebAssembly is a W3C standard that complements JavaScript for performance-heavy tasks while running in the same security sandbox.
#2about 3 minutes
The architecture of a WebAssembly module
A WebAssembly module interacts with an external environment like JavaScript through imports and exports for functions, memory, and global variables.
#3about 1 minute
Binary (.wasm) versus textual (.wat) representation
WebAssembly modules have an interchangeable binary format (.wasm) for execution and a human-readable textual format (.wat) for debugging.
#4about 4 minutes
How the WebAssembly stack machine execution model works
WebAssembly uses a stack machine for execution, where instructions manipulate values on a stack to perform computations.
#5about 5 minutes
Live coding a recursive Fibonacci function in .wat
A live coding demonstration shows how to implement the recursive Fibonacci algorithm using WebAssembly's textual format (.wat).
#6about 4 minutes
How to implement loops using block and loop statements
WebAssembly constructs loops using structured block and loop statements with indexed labels for branching, which replace traditional goto statements.
#7about 5 minutes
Live coding how to find the maximum value in an array
This live coding example demonstrates how to iterate through an array in memory to find its maximum value using WebAssembly bytecode.
#8about 2 minutes
Q&A on modules, security, and language recommendations
The speaker answers audience questions about connecting multiple modules, using WebAssembly for secure software supply chains, and the best languages to start with.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
09:44 MIN
Answering common questions about WebAssembly
Wasm Deep Dive - A Glance Behind the Scenes
05:41 MIN
Navigating the WebAssembly ecosystem and foundations
WebAssembly: The Next Frontier of Cloud Computing
04:49 MIN
Understanding the original design goals of WebAssembly
The Future of Cloud is WebAssembly
02:40 MIN
The core components of the WebAssembly ecosystem
WebAssembly: The Next Frontier of Cloud Computing
05:41 MIN
Defining WebAssembly and its original design goals
Fun with PaaS – How to use Cloud Foundry and its uniqueness in creative ways
01:25 MIN
How .NET applications execute on WebAssembly
Using WebAssembly to run, extend, and secure your application
05:42 MIN
How WebAssembly works as a universal compilation target
WebAssembly Revolution: Elevating JavaScript's Reach and Performance
03:13 MIN
Taking WebAssembly beyond the browser with WASI
Using WebAssembly to run, extend, and secure your application
The Best Upcoming IT WebinarsNow that you already know what IT webinars are and how they can help you level up your professional appeal, you might want actually to get into one. Live tech webinars are one of the best ways to stay on top of the latest trends and tools because eit...
Chris Heilmann
WWC24 Talk - Scott Hanselman - AI: Superhero or Supervillain?Join Scott Hanselman at WWC24 to explore AI's role as a superhero or supervillain. Scott shares his 32 years of experience in software engineering, discusses AI myths, ethical dilemmas, and tech advancements. Engage with his live demos and insights o...
Chris Heilmann
All the videos of Halfstack London 2024!Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
Sead Ahmetovic
Sir Tim Berners-Lee – the genius behind the World Wide WebWe are sure Sir Tim Berners-Lee does not need a lot of introduction. The man behind the World Wide Web and HTML is well-known not only in developer circles but amongst general masses as well. However, to show appreciation and joy for having Sir Tim a...
From learning to earning
Jobs that call for the skills explored in this talk.