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.2k
WebAssembly future
fnwiya
0
2.1k
Competitive programming by Rust
fnwiya
1
2k
Other Decks in Technology
See All in Technology
CloudBruteによる外部からのS3バケットの探索・公開の発見について / 20250605 Kumiko Hennmi
shift_evolve
3
200
Scale Security Programs with Scorecarding
ramimac
0
440
2025advance01
minamizaki
0
130
面接を通過するためにやってて良かったこと3選
sansantech
PRO
0
140
MCP で繋ぐ Figma とデザインシステム〜LLM を使った UI 実装のリアル〜
kimuson
2
1.3k
Roo Codeにすべてを委ねるためのルール運用
pharma_x_tech
1
230
ソフトウェアは捨てやすく作ろう/Let's make software easy to discard
sanogemaru
10
5.8k
libsyncrpcってなに?
uhyo
0
160
SmartHRの複数のチームにおけるMCPサーバーの活用事例と課題
yukisnow1823
2
1.2k
テストを実施する前に考えるべきテストの話 / Thinking About Testing Before You Test
nihonbuson
PRO
14
2.1k
エンジニアが組織に馴染むために勉強会を主催してチームの壁を越える
ohmori_yusuke
2
120
カンファレンスのつくりかた / The Conference Code: What Makes It All Work
tomzoh
8
930
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
35
6.7k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
How to train your dragon (web standard)
notwaldorf
92
6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Side Projects
sachag
454
42k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
123
52k
A Modern Web Designer's Workflow
chriscoyier
693
190k
GitHub's CSS Performance
jonrohan
1031
460k
Why Our Code Smells
bkeepers
PRO
336
57k
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