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.6k
Serverless Rust
fnwiya
November 21, 2018
Tweet
Share
More Decks by fnwiya
See All by fnwiya
20221102_pmconf_b1_プロダクトマネジメントと民主主義.pdf
fnwiya
3
7k
WebAssembly future
fnwiya
0
2.1k
Competitive programming by Rust
fnwiya
1
1.9k
Other Decks in Technology
See All in Technology
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
590
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
350
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
なぜCodeceptJSを選んだか
goataka
0
160
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
180
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
530
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
150
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
17
13k
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
110
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
170
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Embracing the Ebb and Flow
colly
84
4.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Mobile First: as difficult as doing things right
swwweet
222
9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
The Pragmatic Product Professional
lauravandoore
32
6.3k
A Tale of Four Properties
chriscoyier
157
23k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Code Review Best Practice
trishagee
65
17k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
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