Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Serverless Rust
fnwiya
November 21, 2018
Technology
0
1.8k
Serverless Rust
fnwiya
November 21, 2018
Tweet
Share
More Decks by fnwiya
See All by fnwiya
WebAssembly future
fnwiya
0
1.7k
Competitive programming by Rust
fnwiya
1
1.4k
Other Decks in Technology
See All in Technology
MRTK3 - DataBinding and Theming 入門
futo23
0
200
XRとシビックテック
satoshirobatofujimoto
0
100
GeoLocationAnchor and MKTileOverlay
toyship
0
110
OPENLOGI Company Profile
hr01
0
740
Custom AppをIP制限ありのままで審査に通す方法
yusuga
0
700
oakのミドルウェアを書くときの技のらしきもの
toranoana
0
140
さいきんのRaspberry Pi。 / osc22do-rpi
akkiesoft
6
5.3k
Introduction To Technical Writing
olawanle_joel
0
100
データエンジニアと作るデータ文化
yuki_saito
4
1.7k
Meet passkeys
satotakeshi
1
130
インフラのCI/CDはGitHub Actionsに任せた
mihyon
0
120
Oracle Cloud Infrastructure:2022年6月度サービス・アップデート
oracle4engineer
PRO
0
170
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
780
250k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
37
3.3k
The Web Native Designer (August 2011)
paulrobertlloyd
74
1.9k
Visualization
eitanlees
125
11k
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
WebSockets: Embracing the real-time Web
robhawkes
57
5.3k
Adopting Sorbet at Scale
ufuk
63
7.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
638
52k
Unsuck your backbone
ammeep
659
55k
Music & Morning Musume
bryan
35
4.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
56
2.3k
The Invisible Side of Design
smashingmag
290
48k
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