Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rustでフロントが書けるんですか?!
Search
Hibiki
June 26, 2024
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rustでフロントが書けるんですか?!
2024/06/25@BeeLT
Hibiki
June 26, 2024
Other Decks in Programming
See All in Programming
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
0
140
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
670
phperだってパンチカードでコーディングしたい
o0h
PRO
0
340
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
カツオ、ご期待ください
suneo3476
0
190
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.3k
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Building Adaptive Systems
keathley
44
3.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Site-Speed That Sticks
csswizardry
13
1.6k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Producing Creativity
orderedlist
PRO
348
41k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Transcript
RUSTでフロントが 書けるんですか?! MATSUNUMA HIBIKI
求:LTのフィードバック 譲:若さ
松沼 韻 MATSUNUMA HIBIKI ・24卒BEENOSエンジニア ・バックエンド育ち ・Rust挫折回数多数 ・ドラマー ・影の地(エルデンDLC)奮闘中
なぜRustでフロント開発を?
なぜRustでフロント開発を? > WebAssemblyによる高速な実行 > 低レベル制御とゼロコスト抽象化 > クラッシュやメモリリークの防止 > JS生態系との統合
Rustとは?
Rustとは? > システムプログラミング言語 >「安全性」 「並行性」 「速度」 > 2015年にMozillaが公開 > 急成長中の浪漫溢れる言語
Rustの特徴 > メモリ安全性 :所有権 > 並行性 :データ競合を防ぐ > ゼロコスト抽象化:低オーバーヘッド > 型システム :強力な静的型付け
フロントエンドフレームワーク
フロントエンドフレームワーク 軽量・宣言的UIライブラリ React風WebAssembly使用 Yew
Yew Sample
ReactライクなAPI メモリ使用量50%削減(vs React) 型安全性 非同期処理のネイティブサポート 高性能・高速なWebSocket通信 初期ロード時間50%削減(vs CSR) SEO対応
他言語との比較
他言語との比較 ・型安全性で堅牢 ・データ競合回避によるバグ防止 ・WASMで高速・リアルタイム ・バックエンドとシームレス ・大規模Appの保守性向上 ・涙の出る高難易度 ・フロント周りのライブラリや ツールがまだ未熟 ・ドキュメントが不十分
メリット デメリット
ユースケース
データ可視化アプリケーション オンラインゲーム 大規模SPAアプリケーション エッジコンピューティング
結論
特定のユースケース(高性能、大規模アプリ)の場合 検討する価値あり
しかし… フロントをRustで書くべき理由、今の所無し WebAssembly の普及とともに需要増加カモ
Rustはいいぞ〜