@gustavoandrade
Gustavo Andrade

BEFORE WE start...

 

characteristics

 

distributed

 

fault-tolerance

 

applications

 

with hot-code

 

SWAPPING

 

scenario

 

switch

A

 

B

 

Hi-concurrency

 

maintanance

 

robusteness

 

in 2004/2005...

 

switch

A

 

B

 

SERVER

browser

 

enpoint

 

But, who really uses erlang?

 

2 million connections on a single node

 

erlang VM

 

how does work erlang vm?

1

=

Lightweight threads

 

GOALS

 

compatibility

 

THERE IS NO CONVERSION COST FOR CALLING ERLANG FROM ELIXIR AND VICE-VERSA.

 

PRODUCTIVITY

 

iex - interactive shell

1

mix + hex + docs

 
$ mix new foo
$ cd foo
$ mix test

web mvc framework

1

ecto

1
iex> {a, b, c} = {:hello, "world", 42}
{:hello, "world", 42}
iex> a
:hello
iex> b
"world"
iex> [a, b, c] = [1, 2, 3]
[1, 2, 3]
iex> a
1
iex> [head | tail] = [1, 2, 3]
[1, 2, 3]
iex> head
1
iex> tail
[2, 3]

Done!

 
@gustavoandrade
Gustavo Andrade

1

2

3

4

5

ExUnit

Runner

ExUnit

Formatter

192.168.1.10

 

192.168.1.20

 

Supervisor

Elixir LTS

By Gustavo Andrade

Elixir LTS

Lightning talk about Elixir

  • 1,035