How does WebAssembly guarantee security without OS-level virtualization? This talk demystifies its stack-based VM and isolated linear memory.
#1about 6 minutes
Defining WebAssembly as a portable compilation target
WebAssembly is a binary instruction format for a stack-based virtual machine that allows code from languages like Rust and C++ to run in the browser and on the server.
#2about 11 minutes
Building and running a simple Wasm module
A simple function is written in WebAssembly Text (WAT), compiled to a binary Wasm file using wat2wasm, and then executed from a JavaScript host.
#3about 14 minutes
A deep dive into the stack-based virtual machine
An Advent of Code example demonstrates how all operations, from memory loads to arithmetic and comparisons, use the stack to pass arguments and receive results.
#4about 11 minutes
Wasm's sandboxed memory and host communication model
WebAssembly modules operate on a dedicated linear memory block for security, and they communicate with the host environment through defined imports and exports.
#5about 6 minutes
Extending Wasm capabilities with WASI and WASIX
The WebAssembly System Interface (WASI) provides a standard API for modules to access system resources like file I/O and networking, which are not available in core Wasm.
#6about 10 minutes
Answering common questions about WebAssembly
The Q&A covers practical topics including when to use Wasm over JavaScript, the WebAssembly Component Model (WIT), and approaches to debugging and profiling.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:05 MIN
Running WebAssembly on the server with WASI
WebAssembly Revolution: Elevating JavaScript's Reach and Performance
05:04 MIN
Demonstrating Wasm with Rust and the WASI interface
WebAssembly: The Next Frontier of Cloud Computing
03:13 MIN
Taking WebAssembly beyond the browser with WASI
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
02:40 MIN
The core components of the WebAssembly ecosystem
WebAssembly: The Next Frontier of Cloud Computing
04:05 MIN
Understanding the core components of WebAssembly
WebAssembly: The Next Frontier of Cloud Computing
05:41 MIN
Navigating the WebAssembly ecosystem and foundations
WebAssembly: The Next Frontier of Cloud Computing
02:17 MIN
Solving common developer challenges with WebAssembly
WebAssembly Revolution: Elevating JavaScript's Reach and Performance
WeAreDevelopers LIVE days are changing - get ready to take partStarting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
Luis Minvielle
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
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...
Chris Heilmann
Dev Digest 116 - WWWAI?This time, learn how to un-AI Google's search results, what's new on the web, avoid a new security hole and go back to BASICS with us. News and ArticlesWhat a week. Google, Microsoft, OpenAI and many others had their big flagship events announcing th...
From learning to earning
Jobs that call for the skills explored in this talk.