SEM ENROLAÇÃO
/DEV/FELIPEMAMUD
Erlang and OTP in Action (LOGAN, 2011; MERRIT, 2011; CARLSSON, 2011)
“Functional programming and the mindset that it
teaches you are a natural match to the problems
encountered in concurrent and distributed
programming [...]”
Ericsson language
● telephony switches problem
● 1986; 30 years ago
● dynamic; strong typing; funcional; fault-
tolerant;
● lightweight processes
● message passing concurrent paradigm
Agner Krarup Erlang was a Danish
mathematician, statistician and
engineer.
Erlang’s world set of Erlang libraries and
design principles providing
middle-ware to develop
these systems. It includes
its own distributed
database, applications to
interface towards other
languages, debugging and
release handling tools.
OTP
virtual machine where all
Erlang code is executed
aka emulator
.beam files
BEAM
Erlang Runtime System
where the BEAM, kernel
and standard libraries
amongst others are
included
ERTS
programming language
dynamic & strong typing
funcional & fault-tolerant
lightweight processes
message passing
concurrent paradigm
ERLANG
Who uses?
Which projects?
Polemical stuffs
● The Prolog syntax based dillemma;
● There are not unique statement terminators; instead it
there is Period (.), Semicolon (;), colon (,);
● There is no if… then… else… statement;
● String == List of Integers;
● Records are a compile time feature.
Let's crash code!
Another flavors
LFE - Lisp Flavored Erlang
● functional, concurrent, general-purpose
programming language
● Lisp dialect
http://lfe.io
Another flavors
● A dynamic programming language that compiles to
bytecode for the Erlang VM;
● syntax improvement (Ruby & Python based);
● improvement on current tools;
● metaprogramming;
● method dispatch;
● protocols;
http://elixir-lang.org
References
● Erlang Official Website.
http://www.erlang.org/
● Learn You Some Erlang for great good. (Read it online)
http://learnyousomeerlang.com
● Erlang and OTP in Action. (Maning - 2011)
https://www.manning.com/books/erlang-and-otp-in-action
JOIN US!
FRIENDSTECHDAY.COM
SHARE, LEARN E CONTRIBUTE!
Felipe Mamud
@ftmamud
THANK YOU!

Erlang sem enrolação

  • 1.
  • 2.
  • 3.
    Erlang and OTPin Action (LOGAN, 2011; MERRIT, 2011; CARLSSON, 2011) “Functional programming and the mindset that it teaches you are a natural match to the problems encountered in concurrent and distributed programming [...]”
  • 4.
    Ericsson language ● telephonyswitches problem ● 1986; 30 years ago ● dynamic; strong typing; funcional; fault- tolerant; ● lightweight processes ● message passing concurrent paradigm Agner Krarup Erlang was a Danish mathematician, statistician and engineer.
  • 5.
    Erlang’s world setof Erlang libraries and design principles providing middle-ware to develop these systems. It includes its own distributed database, applications to interface towards other languages, debugging and release handling tools. OTP virtual machine where all Erlang code is executed aka emulator .beam files BEAM Erlang Runtime System where the BEAM, kernel and standard libraries amongst others are included ERTS programming language dynamic & strong typing funcional & fault-tolerant lightweight processes message passing concurrent paradigm ERLANG
  • 6.
  • 7.
  • 8.
    Polemical stuffs ● TheProlog syntax based dillemma; ● There are not unique statement terminators; instead it there is Period (.), Semicolon (;), colon (,); ● There is no if… then… else… statement; ● String == List of Integers; ● Records are a compile time feature.
  • 9.
  • 10.
    Another flavors LFE -Lisp Flavored Erlang ● functional, concurrent, general-purpose programming language ● Lisp dialect http://lfe.io
  • 11.
    Another flavors ● Adynamic programming language that compiles to bytecode for the Erlang VM; ● syntax improvement (Ruby & Python based); ● improvement on current tools; ● metaprogramming; ● method dispatch; ● protocols; http://elixir-lang.org
  • 12.
    References ● Erlang OfficialWebsite. http://www.erlang.org/ ● Learn You Some Erlang for great good. (Read it online) http://learnyousomeerlang.com ● Erlang and OTP in Action. (Maning - 2011) https://www.manning.com/books/erlang-and-otp-in-action
  • 13.
  • 14.