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.5k
Serverless Rust
fnwiya
November 21, 2018
Tweet
Share
More Decks by fnwiya
See All by fnwiya
20221102_pmconf_b1_プロダクトマネジメントと民主主義.pdf
fnwiya
3
6.9k
WebAssembly future
fnwiya
0
2.1k
Competitive programming by Rust
fnwiya
1
1.9k
Other Decks in Technology
See All in Technology
カメラを用いた店内計測におけるオプトインの仕組みの実現 / ai-optin-camera
cyberagentdevelopers
PRO
1
130
急成長中のWINTICKETにおける品質と開発スピードと向き合ったQA戦略と今後の展望 / winticket-autify
cyberagentdevelopers
PRO
1
160
ネット広告に未来はあるか?「3rd Party Cookie廃止とPrivacy Sandboxの効果検証の裏側」 / third-party-cookie-privacy
cyberagentdevelopers
PRO
1
140
[AWS JAPAN 生成AIハッカソン] Dialog の紹介
yoshimi0227
0
150
Shift-from-React-to-Vue
calm1205
3
1.3k
[JAWS-UG金沢支部×コンテナ支部合同企画]コンテナとは何か
furuton
3
300
MAMを軸とした動画ハンドリングにおけるAI活用前提の整備と次世代ビジョン / abema-ai-mam
cyberagentdevelopers
PRO
1
120
運用イベント対応への生成AIの活用 with Failure Analysis Assistant
suzukyz
0
140
来年もre:Invent2024 に行きたいあなたへ - “集中”と“つながり”で楽しむ -
ny7760
0
480
一休.comレストランにおけるRustの活用
kymmt90
3
600
わたしとトラックポイント / TrackPoint tips
masahirokawahara
1
240
小規模に始めるデータメッシュとデータガバナンスの実践
kimujun
3
600
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Docker and Python
trallard
40
3.1k
Navigating Team Friction
lara
183
14k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Automating Front-end Workflow
addyosmani
1365
200k
Typedesign – Prime Four
hannesfritz
39
2.4k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Ruby is Unlike a Banana
tanoku
96
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
800
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
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