introduction to wapm (webassembly package manager) tutorial using wasmer, assemblyscript and as-wasi

Опубликовано: 25 Апрель 2022
на канале: Chris Hay
2,111
63

WAPM is a package manager for WebAssembly created by the folks at WASMER. Think of it as npm but for webassembly. In this video we explore the various features of WAPM and how you can use WASM modules on the online playground and how to install wasm modules locally using WAPM. In addition we get underneath and look at how WAPM packages up the modules and show how it can be used by both wasmer and wasmtime runtimes.

In addition, we create and publish our own WAPM package with our own WebAssembly (WASM) module using assemblyscript. We create a simple hello-world program that outputs hello world to the console using WASI (WebAssembly System Interface) and as-wasi. WASI allows you to access console, environment and filesystem from webassembly using extensions.

Finally we package our application and publish it to the wapm.io registry.

00:00 - introduction to WAPM
01:50 - exploring wapm.io
02:30 - installing and running cowsay in the wapm playground
04:54 - installing and running sqlite in the wapm playground
07:54 - installing wapm locally
08:35 - checking wapm is installed okay
09:20 - installing wapm packages on my local machine
10:47 - running cowsay wasm locally
12:04 - running wapm packages directly with wasmer
13:35 - installing and running sqlite locally with wapm
14:52 - using wasmtime with wapm packages
17:40 - creating our own wasm package with assemblyscript
21:30 - using wasi and as-wasi to interact with the console
25:00 - signing up for an account with wapm.io
26:10 - creating a wapm.toml file
31:38 - creating a readme for wapm
33:04 - logging into wapm using access tokens
34:50 - publishing our wapm package
36:34 - updating our package and version
38:04 - using our new published package
38:55 - conclusion

git repo is here

https://github.com/chrishayuk/hello-w...


Смотрите видео introduction to wapm (webassembly package manager) tutorial using wasmer, assemblyscript and as-wasi онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Chris Hay 25 Апрель 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,111 раз и оно понравилось 63 людям.