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
すごいErlang楽しく学んだ!
Search
kei-q
October 16, 2015
Technology
220
0
Share
すごいErlang楽しく学んだ!
表参道.rb #5の発表資料です。
http://omotesandorb.connpass.com/event/20289/
kei-q
October 16, 2015
More Decks by kei-q
See All by kei-q
春の鎌倉 Tech&Product Meet発表資料
keqh
0
40
Rubyistのみんなに 私の推しのDuckDBを 紹介させてください
keqh
0
81
Repro_Tech_Meetup__1_Docker.pdf
keqh
4
720
KeyRemac4MacBook.rb
keqh
0
140
PSD.rbでiPhoneアプリ開発のギョームをカイゼンしたい(仮)
keqh
0
200
Other Decks in Technology
See All in Technology
100マイクロサービスのTerraform/Kubernetes管理地獄から抜け出すためのAI活用術
markie1009
0
150
"うちにはまだ早い"は本当? ─ 小さく始めるPlatform Engineering入門
harukasakihara
6
540
カオナビに Suspenseを導入するまで / The Road to Suspense at kaonavi
kaonavi
1
450
freeeで運用しているAIQAについて
qatonchan
0
580
Gaussian Splattingの実用化 - 映像制作への展開
gpuunite_official
0
180
2026年春のAgentCoreアプデ 細かいやつ全部まとめ
minorun365
4
230
AIのための特別なアーキテクチャはいらない 0→1開発で実践した設計原則とガードレール
kaminashi
0
110
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8k
生成AIはソフトウェア開発の革命か、ソフトウェア工学の宿題再提出なのか -ソフトウェア品質特性の追加提案-
kyonmm
PRO
2
910
「背中を見て育て」からの卒業 〜専門技術としてのテスト設計を軸に、品質保証のバトンを繋ぐ〜 #genda_tech_talk
nihonbuson
PRO
3
1.3k
20260507-ACL-seminar
satoshi5884
0
110
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
100k
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Technical Leadership for Architectural Decision Making
baasie
3
360
Navigating Weather and Climate Data
rabernat
0
190
Into the Great Unknown - MozCon
thekraken
41
2.5k
Git: the NoSQL Database
bkeepers
PRO
432
67k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
Code Review Best Practice
trishagee
74
20k
First, design no harm
axbom
PRO
2
1.2k
Transcript
͍͢͝Erlangֶָ͘͠Μͩʂ @kei_q දࢀಓ.rb #5 2015-10-01 1
ͳͥErlang? 2
@kei_q 1 2 • ͓ࣄ: JSON APIΛ࡞ͬͯӡ༻ • Ruby/Rails •
Swift, Objective-C 2 ࠷͓ۙ͠Ζ͍ͱࢥ͏ͷ: cloudformationͷupdate-stackͱpolicy 1 झຯͰ͍ͬͯΔݴޠ: Ruby, Haskell 3
͖͔͚ͬ : RailsҎ֎ͷબࢶ JSONฦ͚ͩ͢ͳΒRailsʹͩ͜ΘΒͳͯ͘ྑ͍ ݴޠϑϨʔϜϫʔΫɺΤίγεςϜͷಛΛཧղͯ͠ɺదࡐదॴ 4
͖͔͚ͬ : shibuya.ex#1 .ex = Elixir = ErlangVM্Ͱಈ࡞͢Δݴޠ 5
ͳͥErlangΛֶ΅͏ͱࢥ͔ͬͨ • োੑͷߴ͞ʹ͍ͭͯΓ͍ͨe1 • ElixirͷલʹErlangΛ͓͍͑ͨ͞e2 • ࣌Ӎಊ BOT αʔόʔͷهࣄΛΈͯڵຯ͕Θ͍ͨ e2
ࢿྉΛಡΜͩΓErlangͷmoduleΛཧղ͢ΔͨΊʹErlangΛಡΊͨ΄͏͕ḿΓͦ͏ͱࢥͬͨ e1 ͙ͬ͢ΓΓ͍ͨ 6
7
࣮ࡍʹಡΜͰΈͯ 8
Erlangͷಠಛͳจ๏ t1 loop(N) -> receive some_standard_message -> N + 1;
other_message -> N-1; {get_count, Pid} -> Pid ! N, loop(N); update -> ?MODULE:loop(N); end. ͍͢͝ErlangຊͷAΛઌʹΛ௨͢ͷ͓͢͢Ί t1 ඌͷه߸Ҏ֎ʹandalsoͱ͔atomͱมͷ໋໊ͱ͔ൺֱԋࢉࢠͱ͔͍Ζ͍Ζಠಛ 9
ຊͷ༰ ӈਤ͍͢͝Erlangຊ22.2h1ΑΓҾ༻ h1 અͷݟग़͠ʮErlangࠈͷ࠷Լʯ 10
ಡॻϩά 11
ಡΈऴ͑ͯ 12
ͲΕ͔ʹڵຯ͕͋Ε͓͢͢Ί ErlangͷҒେ͞ͷ͕ ฒߦͱࢄ ʹΑΔͷͩͱͨ͠Βɺ ͏ Τϥʔॲཧ ͷೳྗʹΑΔͷͰ͋Γɺ ͞Βʹ3ͭΊͷΛͨΒ͢ͷ͕ OTPϑϨʔϜϫʔΫ ͳͷͰ
͢ɻ — ͍͢͝Erlangֶָ͘͠΅͏ʂ 14ষΑΓ3 3 ଠࣈεϥΠυͰՃච 13
ଞͷຊΛ͓͢͢Ί • ؔϓϩάϥϛϯάΛֶͿͨΊʹಡΉ • ʮ͍͢͝Haskellͨͷֶ͘͠΅͏!ʯ͕͓͢͢Ί • ݎ͍จମͰΑ͚ΕʮϓϩάϥϛϯάHaskellʯ 14
ײ 15
͍͢͝ ָ͍͠ ֶΔ 16
END 17
εϥΠυ࡞ʹ༻ͨ͠πʔϧ • deckset • εϥΠυ࡞ • atom • markdownฤू •
googleεϓϨουγʔτ • άϥϑ࡞ 18