Загрузка страницы

"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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
31 декабря 2017 г. 0:00:08
00:15:21
Яндекс.Метрика