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
100
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
Transcript
10 slides
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.
More Decks by Pine Mizune
See All by Pine Mizune
多言語対応と絵文字ジェネレーター / i18n of Emoji Generator
pine
0
920
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
730
Lerna による明示的疎結合アーキテクチャ
pine
1
700
CircleCI 2.0 x JavaScript
pine
3
600
Perl 卒業式
pine
0
390
Android Studio の気になる warnings を抑制する方法まとめ
pine
0
550
Emoji Generator meets Browser Extensions
pine
1
3k
近年の OSS 開発における CI 選択のベストプラクティス
pine
3
4.6k
Other Decks in Programming
See All in Programming
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
120
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
350
Compiling Your Language to WasmGC & Friends
tanishiking
0
770
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
670
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
320
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
450
The Cost of the DOM
ypresto
3
1.2k
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
450
LLM 101
dalinaum
0
550
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
250
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
520
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
From π to Pie charts
rasagy
1
460
Navigating Team Friction
lara
192
16k
WCS-LA-2024
lcolladotor
0
1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
Leo the Paperboy
mayatellez
11
2.5k
Docker and Python
trallard
47
4.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500