"Hello, World!" In WebAssembly
How to get started with WebAssembly an a Mac? In this video, I demonstrate a minimalist setup from scratch (as of late 2017).
Disclaimer: I'm not an expert on neither the web platform nor low-level languages such as assembly. This, therefore, is not an tutorial on neither of these things.
The workflow established in this video is as follows:
1. edit source file in the WebAssembly text format.
2. run webt, the assembler/compiler to get binary web assembly module.
3. load the assembly file into an (empty) web page on the local file system.
4. serve up the web page with a built-in Python module and examine it with Safari (yes, the built-in browser).
As you can see, it doesn't require internet connection or fancy schmancy Javascript build/load systems.
Code written in this video: https://gist.github.com/dduan/e3a348ff28c4d0c4a1278b8229116eb3
The WebAssembly Binary Toolkit: https://github.com/WebAssembly/wabt
WebAssembly docs on MDN: https://developer.mozilla.org/en-US/docs/WebAssembly
—
Twitter: https://twitter.com/daniel_duan
Blog: https://duan.ca
Видео "Hello, World!" In WebAssembly канала Daniel Duan
Disclaimer: I'm not an expert on neither the web platform nor low-level languages such as assembly. This, therefore, is not an tutorial on neither of these things.
The workflow established in this video is as follows:
1. edit source file in the WebAssembly text format.
2. run webt, the assembler/compiler to get binary web assembly module.
3. load the assembly file into an (empty) web page on the local file system.
4. serve up the web page with a built-in Python module and examine it with Safari (yes, the built-in browser).
As you can see, it doesn't require internet connection or fancy schmancy Javascript build/load systems.
Code written in this video: https://gist.github.com/dduan/e3a348ff28c4d0c4a1278b8229116eb3
The WebAssembly Binary Toolkit: https://github.com/WebAssembly/wabt
WebAssembly docs on MDN: https://developer.mozilla.org/en-US/docs/WebAssembly
—
Twitter: https://twitter.com/daniel_duan
Blog: https://duan.ca
Видео "Hello, World!" In WebAssembly канала Daniel Duan
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Python in the browser with WebAssembly and Cables.gl](https://i.ytimg.com/vi/z4aH8bcMuZI/default.jpg)
![WebAssembly for Web Developers (Google I/O ’19)](https://i.ytimg.com/vi/njt-Qzw0mVY/default.jpg)
![Lin Clark: A Cartoon Intro to WebAssembly | JSConf EU](https://i.ytimg.com/vi/HktWin_LPf4/default.jpg)
![WASM + React... Easily build video editing software with JS & FFmpeg](https://i.ytimg.com/vi/-OTc0Ki7Sv0/default.jpg)
![Web APIs You [Probably] Didn't Know Existed](https://i.ytimg.com/vi/EZpdEljk5dY/default.jpg)
![Schism: A Self-Hosting Scheme to WebAssembly Compiler](https://i.ytimg.com/vi/V7IxiMjKWZM/default.jpg)
![Rust Course for Beginners - Lesson 1 - Installing Rust and Hello World - Tutorial Rust lang rustlang](https://i.ytimg.com/vi/fdx6KsjYhO8/default.jpg)
![lvalues and rvalues in C++](https://i.ytimg.com/vi/fbYknr-HPYE/default.jpg)
![HELLO WEBASSEMBLY - A BEGINNERS TUTORIAL TO CODING WEBASSEMBLY (WASM) BY HAND.](https://i.ytimg.com/vi/ojYEfRye6aE/default.jpg)
![RUST + WEBASSEMBLY / Илья Барышников (Align Technology)](https://i.ytimg.com/vi/iW9w_4TSWjU/default.jpg)
![WebAssembly: ¿se acerca el final de JavaScript? - Invitado: Andres Pineda](https://i.ytimg.com/vi/utaiLe7EqzY/default.jpg)
![Aaron Turner: Webassembly for Javascript Developers | April 2020](https://i.ytimg.com/vi/JVq5ueTQAS8/default.jpg)
![x86 Assembly: Hello World!](https://i.ytimg.com/vi/HgEGAaYdABA/default.jpg)
![Almar Klein - Let’s embrace WebAssembly!](https://i.ytimg.com/vi/u2kKxmb9BWs/default.jpg)
![WHY WEBASSEMBLY IS IMPORTANT | USE CASES | Introduction to WebAssembly (WASM)](https://i.ytimg.com/vi/lwAQiE7bU-8/default.jpg)
![Speed, Speed, Speed: JavaScript vs C++ vs WebAssembly - Franziska Hinkelmann, Google](https://i.ytimg.com/vi/aC_QLLilwso/default.jpg)
![Blazor: SPAs im Browser mit C# und WebAssembly | Christian Weyer](https://i.ytimg.com/vi/1MIgMEQKXaM/default.jpg)
![Vim Tips: Pasting done right!](https://i.ytimg.com/vi/XEaNXOXE5_k/default.jpg)
![RustConf 2019 - From Electron, to Wasm, to Rust (Aaand Back to Electron) by Irina Shestak](https://i.ytimg.com/vi/lLzFJenzBng/default.jpg)
![Lessons in WebAssembly: Client Side Video Editing](https://i.ytimg.com/vi/GsGPWSUmP8s/default.jpg)