Rainer Stropek

Wasm Deep Dive - A Glance Behind the Scenes

How does WebAssembly guarantee security without OS-level virtualization? This talk demystifies its stack-based VM and isolated linear memory.

Wasm Deep Dive - A Glance Behind the Scenes
#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.

job ad

Saby Company
Delebio, Italy

Intermediate

d

Saby Company
Delebio, Italy

Junior

Featured Partners

Related Articles

View all articles
CH
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...
All the videos of Halfstack London 2024!
CH
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take part
Starting 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...
WeAreDevelopers LIVE days are changing - get ready to take part
LM
Luis Minvielle
The Best Upcoming IT Webinars
Now 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...
The Best Upcoming IT Webinars
CH
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...
Dev Digest 116 - WWWAI?

From learning to earning

Jobs that call for the skills explored in this talk.