Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Erlang Fight Club
Tom Santero
October 02, 2013
Technology
5
400
Erlang Fight Club
I have no words to describe this.
Tom Santero
October 02, 2013
Tweet
Share
More Decks by Tom Santero
See All by Tom Santero
tsantero
1
240
tsantero
1
160
tsantero
1
150
tsantero
0
150
tsantero
2
140
tsantero
0
110
tsantero
0
230
tsantero
22
2.6k
tsantero
6
1.8k
Other Decks in Technology
See All in Technology
hhiroshell
9
530
miura55
0
120
meteatamel
0
440
sumi
0
600
stakaya
14
8.5k
hgsgtk
5
1.3k
indigo13love
2
630
soracom
0
140
sadayoshitada0919
1
600
adarapata
2
500
clustervr
0
210
kolinz
0
110
Featured
See All Featured
paulrobertlloyd
71
1.4k
roundedbygravity
84
7.8k
keithpitt
401
20k
zakiwarfel
88
3.3k
tanoku
86
8.5k
sugarenia
233
840k
sferik
610
54k
deanohume
295
27k
thoeni
4
550
samlambert
237
9.9k
addyosmani
311
21k
jcasabona
7
520
Transcript
@tsantero Wednesday, October 2, 13
in the beginning it was called Prolog, but we’ve
moved out of the basements and now we call it Erlang Wednesday, October 2, 13
Ericsson put it on their switches...now we had
corporate sponsorship. Wednesday, October 2, 13
you are not your job. you are not how many
processes you have on the queue. you’re not the contents of your ets table you’re not your fucking heap. you are the all singing, all dancing crap of the beam. and you’re going to fail fast. Wednesday, October 2, 13
1st Rule Wednesday, October 2, 13
1st Rule rule1() -‐> ["you do not talk about erlang"
| rule1()]. Wednesday, October 2, 13
2nd Rule Wednesday, October 2, 13
2nd Rule rule2() -‐> ["you DO NOT talk about erlang"
| rule2()]. Wednesday, October 2, 13
3rd Rule Wednesday, October 2, 13
3rd Rule if a process unexpectedly quits, hangs, crashes: you
spawn a new process Wednesday, October 2, 13
4th Rule Wednesday, October 2, 13
4th Rule -‐export([fight/2]). Wednesday, October 2, 13
5th Rule Wednesday, October 2, 13
5th Rule +sbt Wednesday, October 2, 13
6th Rule Wednesday, October 2, 13
6th Rule Single Serving Variables Wednesday, October 2, 13
7th Rule Wednesday, October 2, 13
7th Rule programs will run as long as they
have to Wednesday, October 2, 13
8th Rule Wednesday, October 2, 13
8th Rule if this is your first time using
Erlang, you have to write it. Wednesday, October 2, 13
this is your net_ticktime, and it’s ending one millisecond at
a time Wednesday, October 2, 13
Thanks! Wednesday, October 2, 13