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
Crystal in production
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
y2k2mt
June 21, 2018
Programming
540
1
Share
Crystal in production
y2k2mt
June 21, 2018
More Decks by y2k2mt
See All by y2k2mt
luckyframeworkで驚異的なスループットを出した話
y2k2mt
1
340
Other Decks in Programming
See All in Programming
Agentic UI beyond Chats Architecture Patterns & Open Standards @ngMunich 05/2026
manfredsteyer
PRO
0
160
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1.2k
AI 時代のソフトウェア設計の学び方
masuda220
PRO
28
11k
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
400
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
720
Inspired By RubyKaigi (EN)
atzzcokek
0
220
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
230
Skillは並べた。動かなかった。契約で繋いだ。— 65個のSkillから、自走する開発サイクルへ
junholee
0
770
New "Type" system on PicoRuby
pocke
1
260
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
15
6.8k
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
270
Oxlintのカスタムルールの現況
syumai
5
790
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
180
Game over? The fight for quality and originality in the time of robots
wayneb77
1
180
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
820
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
190
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
460
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
Scaling GitHub
holman
464
140k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
120
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
150
Transcript
© DMM.com LLC Crystal in production 合同会社DMM.com 2018/06/21 東京Crystal勉強会 #6
in 渋谷 角本幸生
© DMM.com LLC 角本幸生 自己紹介 合同会社DMM.com クリプトマイニング事業部 暗号通貨まわりで仕事しています Crystal! Scala/Rust/Elixir/Node/Ruby
etc… Github: https://github.com/y2k2mt/
© DMM.com LLC Crystalへの道 3
© DMM.com LLC Crystalへの道 ・暗号通貨なシステムとか作ろう! ・高い処理能力を出せる素地のある言語を選びたい ・Goなんてどう? 4
© DMM.com LLC Crystalへの道 Goつらい 5 ※個人の見解です
© DMM.com LLC Crystalへの道 6 ・GO_PATH ・グローバルを汚染するネームスペース ・消えるエラーとその引き回し... ( if
err != nil ) ・あれ、map とか fold とかってないんだっけ...
© DMM.com LLC Crystalへの道 7 そうだ、せめて map と flatten があれば...!
© DMM.com LLC Crystalへの道 8 パフォーマンスが出ず、無理ゲーでした
© DMM.com LLC Crystalへの道 9 ・Scalaはどう? ・不慣れな関数型言語の壁 ・なにかいい言語はないか... Crystal !!!
© DMM.com LLC Crystalをつかってみて 10
© DMM.com LLC Crystalをつかってみて ・リファレンス見なくても何となく書けるのはまさにRuby! ・module や include の仕組みも同じ! ・勿論
map も fold もある! 11
© DMM.com LLC Crystalをつかってみて ・エコシステムが結構充実している ・Redis などとも連携に問題なし! → Elasticacheの暗号化通信だけ対応できなかったので作った 12
© DMM.com LLC Crystalをつかってみて crystal-redis にPR送ったらマージされたよ ! https://github.com/stefanwille/crystal-redis/pull/51 13
© DMM.com LLC Crystalをつかってみて ・ APIは Kemal が重たかったので router.cr を使う
14
© DMM.com LLC Crystalをつかってみて ・マイニングプールの報酬計算 15 (参考 : https://bitcoil.co.il/pool_analysis.pdf )
© DMM.com LLC 結論 Crystal よい! ので、みんなでCrystalを使おう
© DMM.com LLC ご清聴ありがとうございました。