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でTUIのSQLクライアントを作った
Search
TaKO8Ki
November 30, 2021
Programming
1.7k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RustでTUIのSQLクライアントを作った
TaKO8Ki
November 30, 2021
More Decks by TaKO8Ki
See All by TaKO8Ki
RustのReturn-position impl trait in trait (RPITIT) の実装を雑に見てみる
tako8ki
1
1.1k
Rustソースコードのざっくりとした歩き方 🦀
tako8ki
14
7.3k
Rustで始めるコードファーストなOpenAPI定義の生成 🦀
tako8ki
1
3.3k
簡単なシェルを作ってRustを学ぼう
tako8ki
1
750
How to contribute to Rust and what I have recently been working on
tako8ki
0
480
A Ruby version manager written in Rust, which is 7 seconds faster than rbenv
tako8ki
1
1.9k
Other Decks in Programming
See All in Programming
カツオ、ご期待ください
suneo3476
0
180
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
22
22k
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
490
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
780
Event is what happens
moro
2
470
R8 の設定見直しでアプリサイズ削減
andpad
0
210
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1k
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
1
160
ジョジョの世界をXRで再現する
mofurune
0
160
golang-bob.pdf
iwatsukayura
0
130
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Scaling GitHub
holman
464
140k
Statistics for Hackers
jakevdp
799
230k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Marketing to machines
jonoalderson
1
5.9k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
940
Side Projects
sachag
456
43k
The untapped power of vector embeddings
frankvandijk
2
1.9k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Crafting Experiences
bethany
1
380
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Transcript
Rust でTUI SQL クライアントを作った Takayuki Maeda (@TaKO8Ki) Rust LT Online
#5
自己紹介 Takayuki Maeda GitHub: @TaKO8Ki Twitter: @TaKOBKi Software Engineer @
Money Forward, Inc.
作ったもの https://github.com/TaKO8Ki/gobang 1606 🌟
作ったもの
作ったもの クロスプラットフォーム対応 (macOS, Windows, Linux) 複数データベースに対応 (MySQL, PostgreSQL, SQLite) キーボードだけで操作可能
SQLx + tui-rs + crossterm
どんな感じで実装してるか パーツごとにコンポーネントを作ってる ⬅︎
どんな感じで実装してるか 例えばこれが ⬅︎
どんな感じで実装してるか
実際のコード
実際のコード
実際のコード
どんな感じで実装してるか filter table
その他少し複雑なUI 折り畳めるメニュー(ちゃんとした名前が分からない) ⬅︎ 補完機能 ⬅︎
その他少し複雑なUI 折り畳めるメニュー(ちゃんとした名前が分からない) ⬅︎ 補完機能 ⬅︎ Listをベースにツリーのロジックを別crateに分けて実装 ポップアップの座標を変え てうまく実装
デモ
課題 キーボードのショートカットカスタマイズ 同期的な実相を改善する テーマを変えられるようにする
None