0
Erlang introduction
Paolo Negri @hungryblank
ME
• confounder at contentful.com
• experience in erlang from building game
servers
• interested in programming languages
“Traveling, whether in the
mental or the physical word
is a Joy”
Bertrand Russell
“The anlysis of mind”
Agenda
• Why erlang is a place worth visiting
How would you visualize
your code running?
Maybe
http://www.flickr.com/photos/target_man_2000/8628913523
Erlang
Erlang
Erlang
Erlang
http://www.flickr.com/photos/mitosettembremusica/2874216489/
2 Concepts
1) Process
2) Message
How it works?
A process sends and receives
messages to/from other
processes
Process
Erlang processes are light-weight
with small memory footprint,
fast to create and terminate,
scheduling overhead i...
Process is key to
• Concurrency
• Isolation
• Fault tolerance
• Control of state
Message
Messages between processes
are simply valid Erlang terms
They can be
lists, tuples, integers...
The language
The sequential subset of Erlang is a
functional language, with:
• strict evaluation
• single assignment
• dyn...
Single Assignment?
a.k.a immutability
“Once created by single
assignment, named values are not
variables but immutable obj...
Mutability
access only current state
Immutability
access all states
What for?
• Building reliable systems
• Building high concurrency systems
• Building SOA infrastructure
Where to start?
learn you
some
erlang
.com
learnyousomeerlang.com
Questions?
Upcoming SlideShare
Loading in...5
×

Erlang introduction geek2geek Berlin

575

Published on

Introduction about erlang given at the berlin geek2geek meetup

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
575
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Erlang introduction geek2geek Berlin"

  1. 1. Erlang introduction Paolo Negri @hungryblank
  2. 2. ME • confounder at contentful.com • experience in erlang from building game servers • interested in programming languages
  3. 3. “Traveling, whether in the mental or the physical word is a Joy” Bertrand Russell “The anlysis of mind”
  4. 4. Agenda • Why erlang is a place worth visiting
  5. 5. How would you visualize your code running?
  6. 6. Maybe http://www.flickr.com/photos/target_man_2000/8628913523
  7. 7. Erlang
  8. 8. Erlang
  9. 9. Erlang
  10. 10. Erlang http://www.flickr.com/photos/mitosettembremusica/2874216489/
  11. 11. 2 Concepts 1) Process 2) Message
  12. 12. How it works? A process sends and receives messages to/from other processes
  13. 13. Process Erlang processes are light-weight with small memory footprint, fast to create and terminate, scheduling overhead is low. Erlang documentation
  14. 14. Process is key to • Concurrency • Isolation • Fault tolerance • Control of state
  15. 15. Message Messages between processes are simply valid Erlang terms They can be lists, tuples, integers...
  16. 16. The language The sequential subset of Erlang is a functional language, with: • strict evaluation • single assignment • dynamic typing
  17. 17. Single Assignment? a.k.a immutability “Once created by single assignment, named values are not variables but immutable objects.” Wikipedia
  18. 18. Mutability access only current state
  19. 19. Immutability access all states
  20. 20. What for? • Building reliable systems • Building high concurrency systems • Building SOA infrastructure
  21. 21. Where to start? learn you some erlang .com learnyousomeerlang.com
  22. 22. Questions?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×