Slide 1

Slide 1 text

@tsantero Wednesday, October 2, 13

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

Ericsson  put  it  on  their   switches...now  we  had   corporate  sponsorship. Wednesday, October 2, 13

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

1st Rule Wednesday, October 2, 13

Slide 6

Slide 6 text

1st Rule rule1()  -­‐>  ["you  do  not  talk  about  erlang"  |  rule1()]. Wednesday, October 2, 13

Slide 7

Slide 7 text

2nd Rule Wednesday, October 2, 13

Slide 8

Slide 8 text

2nd Rule rule2()  -­‐>  ["you  DO  NOT  talk  about  erlang"  |  rule2()]. Wednesday, October 2, 13

Slide 9

Slide 9 text

3rd Rule Wednesday, October 2, 13

Slide 10

Slide 10 text

3rd Rule if  a  process  unexpectedly  quits, hangs,  crashes:  you  spawn  a  new  process Wednesday, October 2, 13

Slide 11

Slide 11 text

4th Rule Wednesday, October 2, 13

Slide 12

Slide 12 text

4th Rule -­‐export([fight/2]). Wednesday, October 2, 13

Slide 13

Slide 13 text

5th Rule Wednesday, October 2, 13

Slide 14

Slide 14 text

5th Rule +sbt Wednesday, October 2, 13

Slide 15

Slide 15 text

6th Rule Wednesday, October 2, 13

Slide 16

Slide 16 text

6th Rule Single  Serving  Variables Wednesday, October 2, 13

Slide 17

Slide 17 text

7th Rule Wednesday, October 2, 13

Slide 18

Slide 18 text

7th Rule programs  will  run  as  long  as   they  have  to Wednesday, October 2, 13

Slide 19

Slide 19 text

8th Rule Wednesday, October 2, 13

Slide 20

Slide 20 text

8th Rule if  this  is  your  first  time   using  Erlang,  you  have  to   write  it. Wednesday, October 2, 13

Slide 21

Slide 21 text

this  is  your  net_ticktime,  and  it’s  ending  one  millisecond  at  a  time Wednesday, October 2, 13

Slide 22

Slide 22 text

Thanks! Wednesday, October 2, 13