Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Serverless Rust
Search
fnwiya
November 21, 2018
Technology
0
2.7k
Serverless Rust
fnwiya
November 21, 2018
Tweet
Share
More Decks by fnwiya
See All by fnwiya
20221102_pmconf_b1_プロダクトマネジメントと民主主義.pdf
fnwiya
3
7.3k
WebAssembly future
fnwiya
0
2.2k
Competitive programming by Rust
fnwiya
1
2k
Other Decks in Technology
See All in Technology
ヒューリスティック評価を用いたゲームQA実践事例
gree_tech
PRO
0
410
AIとTDDによるNext.js「隙間ツール」開発の実践
makotot
6
800
kubellが考える戦略と実行を繋ぐ活用ファーストのデータ分析基盤
kubell_hr
0
120
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
2
130
7月のガバクラ利用料が高かったので調べてみた
techniczna
3
800
「魔法少女まどか☆マギカ Magia Exedra」のグローバル展開を支える、開発チームと翻訳チームの「意識しない協創」を実現するローカライズシステム
gree_tech
PRO
0
410
DuckDB-Wasmを使って ブラウザ上でRDBMSを動かす
hacusk
1
130
モダンフロントエンド 開発研修
recruitengineers
PRO
9
6k
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
13
4k
Grafana MCPサーバーによるAIエージェント経由でのGrafanaダッシュボード動的生成
hamadakoji
1
890
Browser
recruitengineers
PRO
7
2.1k
【 LLMエンジニアがヒューマノイド開発に挑んでみた 】 - 第104回 Machine Learning 15minutes! Hybrid
soneo1127
0
230
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Making Projects Easy
brettharned
117
6.4k
How STYLIGHT went responsive
nonsquared
100
5.8k
Into the Great Unknown - MozCon
thekraken
40
2k
Speed Design
sergeychernyshev
32
1.1k
Embracing the Ebb and Flow
colly
87
4.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
GraphQLとの向き合い方2022年版
quramy
49
14k
Rails Girls Zürich Keynote
gr2m
95
14k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Transcript
Serverless Rust
ࣗݾհ • @fnwiya • Japan Venture Research Co., LTD. (ex-FORCIA,
Inc.)
Serverless • ৗ࣌ىಈ͍ͯ͠Δαʔό(server)͕ͳ͍(less) • ίϯςφٕज़ʹΑΔϞμϯͳCGI • FaaS
Serverless • Pros • αʔόΛཧ͠ͳ͍͍ͯ͘ • ແݶεέʔϧ
Serverless • Cons • ݺͼग़͠ͷ੍(ϝϞϦ/࣮ߦ࣌ؒ) • ίʔϧυελʔτ • (ྑ͘ѱ͘)εςʔτϨε
"[VSF 'VODUJPOT "84 -BNEB $MPVE 'VODUJPOT /PEFKT 㾎 㾎 㾎
1ZUIPO 㾎 㾎 +BWB 㾎 㾎 (P 㾎 $ 㾎 㾎 FaaSͷݴޠରԠঢ়گ(2018.11ݱࡏ)
"[VSF 'VODUJPOT "84 -BNEB $MPVE 'VODUJPOT /PEFKT 㾎 㾎 㾎
1ZUIPO 㾎 㾎 +BWB 㾎 㾎 (P 㾎 $ 㾎 㾎 XBTN 㾎 㾎 FaaSͷݴޠରԠঢ়گ(2018.11ݱࡏ)
wasm͕ಈ͘ ↓ RustͰॻ͚Δʂʂ
αϯϓϧ • Hello world https://github.com/fnwiya/serverless_wasm_example
wasm-bindgenͰ rustͷίʔυΛwasmԽ https://github.com/rustwasm/wasm-bindgen/
wasmΛjs͔Βݺͼग़͢
࠷ޙʹ • wasmʹ͔ͬΔ͜ͱͰFaaSͰRust͕ಈ͘ • Safe & Fastʹॻ͚ΔͷͰRustͰॻ͘ͷ Αͦ͞͏ • eWASM
/ WebAssembly on Cloudflare WorkersͳͲwasm͕͍
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