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
Crystal - Ruby 風シンタックスな静的言語の紹介 - (LT 版)
Search
Pine Mizune
July 15, 2015
Programming
98
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Crystal - Ruby 風シンタックスな静的言語の紹介 - (LT 版)
渋谷.rb[:20150715] で発表した資料です。
https://shibuyarb.doorkeeper.jp/events/28109
Pine Mizune
July 15, 2015
More Decks by Pine Mizune
See All by Pine Mizune
多言語対応と絵文字ジェネレーター / i18n of Emoji Generator
pine
0
900
C++ 製グラフィックライブラリ Skia の紹介 / Introduction to the graphics library Skia written by C++
pine
0
2k
asyncio + aiohttp で作るウェブサービス / How to develop a web service with asyncio and aiohttp
pine
0
710
Lerna による明示的疎結合アーキテクチャ
pine
1
690
CircleCI 2.0 x JavaScript
pine
3
580
Perl 卒業式
pine
0
380
Android Studio の気になる warnings を抑制する方法まとめ
pine
0
540
Emoji Generator meets Browser Extensions
pine
1
3k
近年の OSS 開発における CI 選択のベストプラクティス
pine
3
4.5k
Other Decks in Programming
See All in Programming
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
330
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
440
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.3k
Family mrubyの進捗
kishima
1
130
What We Talk About When We Talk About XP
m_seki
2
670
スマート反転とウェブアクセシビリティ
camiha
0
210
JRuby: Past, Present, and Future
headius
0
190
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
140
Building an Out-of-Order CPU
latte72
1
800
Intent as Code
shoppingjaws
6
1.1k
App Intentsのビルドプロセスを支える技術
kntkymt
0
420
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.2k
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Utilizing Notion as your number one productivity tool
mfonobong
4
590
Visualization
eitanlees
152
17k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
600
Crafting Experiences
bethany
1
350
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
580
Speed Design
sergeychernyshev
33
2.1k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Six Lessons from altMBA
skipperchong
29
4.5k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
Transcript
Crystal Ruby 風シンタックスな静的言語の紹介 水音氷音 Mobile Factory, Inc
あなたはだれ? • Mobile Factory, Inc. • ソーシャルアプリつくってます –Swift / Perl
Crystal とは? 3 Ruby ◦ 高い表現力 ◦ 高い生産性 × 遅い
C 言語 ◦ 非常に高速 × 表現力が乏しい × 生産性が低い Crystal 同時に実現
Crystal のコンセプト 4 1. Ruby 風シンタックス 2. 型推論による静的型付け 3. C
言語との容易なバインディング 4. コンパイル時評価によるコード生成 5. 高速なネイティブコード出力
Ruby syntax 100.times do |x| if x % 15 ==
0 puts ”fizzbuzz” elsif x % 3 == 0 puts ”fizz” elsif x % 5 == 0 puts “baz” else puts x end end 5 Crystal syntax 100.times do |x| if x % 15 == 0 puts ”fizzbuzz” elsif x % 3 == 0 puts ”fizz” elsif x % 5 == 0 puts “baz” else puts x end end
Crystal syntax ≒ Ruby syntax 6 • ほとんど同じだって Matz も言ってる!!
出展: https://twitter.com/yukihiro_matz/status/610842781091672064
Crystal の使い所 7 • 速度が求められる場所 • C / C++ からの段階的移植
• Ruby エンジニアが多い環境 – 新しく Golang 覚えるより...
• セルフホスティングコンパイラ – ある仕様 FIX & 安定動作するフェーズ • 最新版: v0.7.4
(2015/06/24) • Travis CI 公式サポート (2015/06/30~) 8 開発進捗
• 東京 Crystal 勉強会 #1 in 五反田 • 会場: Mobile
Factory, Inc • http://j.mp/crystal-jp ... connpass • http://j.mp/crystal-jp-slack ... Slack 9 [宣伝] Crystal 勉強会開催決定
Fin.