Serverless Rust

7330cbbb623c60949c5470b7eb97c3ca?s=47 fnwiya
November 21, 2018

Serverless Rust

7330cbbb623c60949c5470b7eb97c3ca?s=128

fnwiya

November 21, 2018
Tweet

Transcript

  1. Serverless Rust

  2. ࣗݾ঺հ • @fnwiya • Japan Venture Research Co., LTD.
 (ex-FORCIA,

    Inc.)
  3. Serverless • ৗ࣌ىಈ͍ͯ͠Δαʔό(server)͕ͳ͍(less) • ίϯςφٕज़ʹΑΔϞμϯͳCGI • FaaS

  4. Serverless • Pros • αʔόΛ؅ཧ͠ͳ͍͍ͯ͘ • ແݶεέʔϧ

  5. Serverless • Cons • ݺͼग़͠ͷ੍໿(ϝϞϦ/࣮ߦ࣌ؒ) • ίʔϧυελʔτ • (ྑ͘΋ѱ͘΋)εςʔτϨε

  6. "[VSF 'VODUJPOT "84 -BNEB $MPVE 'VODUJPOT /PEFKT 㾎 㾎 㾎

    1ZUIPO 㾎 㾎 +BWB 㾎 㾎 (P 㾎 $ 㾎 㾎 FaaSͷݴޠରԠঢ়گ(2018.11ݱࡏ)
  7. "[VSF 'VODUJPOT "84 -BNEB $MPVE 'VODUJPOT /PEFKT 㾎 㾎 㾎

    1ZUIPO 㾎 㾎 +BWB 㾎 㾎 (P 㾎 $ 㾎 㾎 XBTN 㾎 㾎 FaaSͷݴޠରԠঢ়گ(2018.11ݱࡏ)
  8. wasm͕ಈ͘ ↓ RustͰॻ͚Δʂʂ

  9. αϯϓϧ • Hello world
 https://github.com/fnwiya/serverless_wasm_example

  10. wasm-bindgenͰ rustͷίʔυΛwasmԽ https://github.com/rustwasm/wasm-bindgen/

  11. wasmΛjs͔Βݺͼग़͢

  12. ࠷ޙʹ • wasmʹ৐͔ͬΔ͜ͱͰFaaSͰ΋Rust͕ಈ͘ • Safe & Fastʹॻ͚ΔͷͰRustͰॻ͘ͷ͸
 Αͦ͞͏ • eWASM

    / WebAssembly on Cloudflare WorkersͳͲwasm͕೤͍
  13. I think the most valid reason for using Rust within

    lambda functions is that Rust developers will want to! https://blog.scottlogic.com/2018/10/18/serverless-rust.html