Wasm I/O '24 を追いかける(1)

Wasm I/O '24 を履修する。 一旦スライドに目を通していく。

https://2024.wasmio.tech/sessions/

あとで動画見る

WASM CAN DO THAT!?

  • Daniel López @vomkriege
  • Game
    • ブラウザ、拡張性、WebGPU
  • AI
    • WebGPU, WASI-nn, Wasmによるプロンプト(microsoft/aici),
  • Small devices
    • Edge, IoT, デバイスの多様性、VMやコンテナがヘビーな環境、ベンダー非依存
  • Emulation
    • sandbox, WALI(The WebAssembly Linux interface)
      • WALIはWASIX的な立場、論文で提唱されたっぽい
  • Kubernetes

The Wasm-Scape Navigator: Sorting Through the Mosaic of Specs

WebAssembly Component Model: What? How? And, why you should not ignore it!

  • Thorsten Hans @Fermyon
  • Wasm Componentの役割
  • ツール
    • ソースコード to Wasm Component
      • Python: componentize-py
      • JavaScript: jco, componentize-js
      • Rust: cargo-component
    • Wasm Componentの操作
      • bytecodealliance/wasm-tools
      • peterhuene/wac (WebAssembly Composition)
        • WITを定義するためのDSLっぽい?
  • デモ * 2
    • 単一のWasmから、Pythonで書かれた関数、Rustで書かれた関数、どちらも呼び出せる
    • RustからPythonを呼び出す

Kotlin/Wasm — Compile Once Run Everywhere

Create cloud native agents and extensions for LLMs

  • Vivian Hu - Second State
  • LLM in CLoudの課題
    • Pythonの依存でとてもheavy stack
    • ヘテロGPU, CPUのコードを含むのでnot portable
  • Wasmや!
    • wasi-nnを使う
    • サポートされているフレームワーく:OpenVINO, TensorFlow, Pytorch
  • wasi-nnをさらに拡張
    • llama.cppをバックエンドに
  • デモ
  • Roadmap
    • wasi-nnにLLMのバックエンドを増やす
    • GPU on container

Empowering Go with WebAssembly System Interface (WASI) Unleashed

Filling a Registry-Shaped Hole in the Wasm Component Ecosystem

  • Component Model
    • いいこと色々
    • module間のMemory shareの仕組みはないので、コピーが発生
  • Component Model Pain
    • documents
    • composition (?)
    • distribution (?)
    • reproducibility (?)
    • registry
  • Registory: Warg を作った
    • cryptographically verifiable
    • wa.dev

WANIX: A WebAssembly Operating and Development Environment

  • スライド動画ない
  • ブラウザ完結のWasm開発環境

elfconv: AOT compiler that translates Linux/AArch64 ELF binary to WebAssembly

  • お馴染みの!
  • remill: ELF to LLVM IR
  • syscall は対応するWASIがある場合はそれを使う、ない場合は擬似的に処理

WebAssembly at Google

  • 仕様策定もツールチェーンも作ってるよ
  • Wasm GC
    • GC言語が、Wasmになったあとにかける最適化を頑張っていくらしい
  • プロダクトにも使ってるよ

Claw and the Future of Component-Native Programming Languages