SlideShare a Scribd company logo
Erlang
TL;DR edition for busy
    ruby peoples
    A short presentation :D
    • with bullet points :(
    and no lolcats :(
    in a default keynote theme :(
    by Vaughan Allan :D
    http://github.com/vorn


                            @vornstar
Erlang: TL;DR
Erlang in 2 minutes

• Functional
• Built for reliability (nine nines)
• Some nice adjectives include:
   • concurrent, distributed, “soft real-time”
   • fault tolerant
   • scalable (cloud-scale, web-scale)
   • green (sort of)
Erlang in 2 minutes


• Gotchas include:
   • It looks a lot like Prolog
   • Immutability
   • No “loops” (use tail recursion, or map funs)
   • Strings are weird-ish
OTP in 5 minutes

• It’s an application framework
• Release handling (sort of), hot code-swapping
• Supervision Tree
• Patterns (behaviours)
Supervision Tree
Behaviours

• gen_sup - supervisor, often linked to one of:
• gen_server - generic module
• gen_fsm - finite state machine
• gen_event - event-driven pub/sub
Supervision Tree
WTFBRO this ain’t Ruby
• You might be using it already (hello, CouchDB?)
• Integration options:
   • Ruby-Erlang bridge (erlectricity, experimental)
   • ZeroMQ
   • DIY (REST/socket APIs are easy *)
• It runs on Heroku **
   • https://github.com/vorn/ChicagoBoss-on-Heroku
Build Something

• rebar - a build tool (on steroids)
• ChicagoBoss - (Rails-like MVC Framework)
   • for immediate gratification
• webmachine by Basho (a “REST Toolkit”)
• Emacs! (?)
Hack Something


• ChicagoBoss - http://github.com/evanmiller
• http://github.com/languages/Erlang
• Riak, RabbitMQ , eJabberd, CouchDB
Read Something
                                              “Don't
                                              drink too
                                              much
• http://learnyousomeerlang.com               Kool-Aid”

• “Programming Erlang” (pragprog.com)
• “Erlang Programming” (O’Reilly) - good for learning OTP
• “Erlang and OTP in Action” (Manning)
• “7 Languages in 7 weeks” (pragprog.com)
Erlang Pizzafest

• Every 2mths @ RocketBoots
• Next meetup Tues 5th June
• http://bit.ly/erl_syd
• No experience necessary (pizza xp assumed)
Double-Click to Edit
      (this is the last slide)

More Related Content

KEY
Erlang - Dive Right In
PPT
Pete Heroku Waza 2013 Ruby 2.0
PDF
PureScript Tutorial 1
PDF
Smalltalks13 pharo techoverview
KEY
Ruby Midwest 2010 jRuby by Charles Nutter
PDF
MPI, Erlang and the web
PPTX
Tofu and its environment
PDF
10 Things you should know about Ruby
Erlang - Dive Right In
Pete Heroku Waza 2013 Ruby 2.0
PureScript Tutorial 1
Smalltalks13 pharo techoverview
Ruby Midwest 2010 jRuby by Charles Nutter
MPI, Erlang and the web
Tofu and its environment
10 Things you should know about Ruby

What's hot (20)

PDF
Taming Pythons with ZooKeeper (Pyconfi edition)
PPTX
Automating Your Daily Tasks with Scripting - RubyConf 2015 Taiwan
PPTX
Chef + AWS + CodeIgniter
PDF
Crafting interactive troubleshooting guides and team documentation for your K...
KEY
Messaging, interoperability and log aggregation - a new framework
PDF
Radio Free Django
PDF
Code for Startup MVP (Ruby on Rails) Session 1
PPTX
Functional Programming in PHP
PPTX
Repeating History...On Purpose...with Elixir
PPTX
From Web to Mobile with Stage 3D
PDF
Great Tools Heavily Used In Japan, You Don't Know.
PPTX
Day 8 - jRuby
PDF
英会話アプリ TerraTalk の裏側
PPTX
Day 1 - Intro to Ruby
PPTX
Day 9 - PostgreSQL Application Architecture
PDF
How to create/improve OSS product and its community (revised)
PDF
Introduction to hubot
PDF
Phpmatsuri2010
PDF
Ruby is dying. What languages are cool now?
PPTX
Why PG deserves noSQL fans' respect
Taming Pythons with ZooKeeper (Pyconfi edition)
Automating Your Daily Tasks with Scripting - RubyConf 2015 Taiwan
Chef + AWS + CodeIgniter
Crafting interactive troubleshooting guides and team documentation for your K...
Messaging, interoperability and log aggregation - a new framework
Radio Free Django
Code for Startup MVP (Ruby on Rails) Session 1
Functional Programming in PHP
Repeating History...On Purpose...with Elixir
From Web to Mobile with Stage 3D
Great Tools Heavily Used In Japan, You Don't Know.
Day 8 - jRuby
英会話アプリ TerraTalk の裏側
Day 1 - Intro to Ruby
Day 9 - PostgreSQL Application Architecture
How to create/improve OSS product and its community (revised)
Introduction to hubot
Phpmatsuri2010
Ruby is dying. What languages are cool now?
Why PG deserves noSQL fans' respect
Ad

Similar to Erlang: TL;DR (20)

PDF
Erlang, the big switch in social games
PDF
Erlang factory SF 2011 "Erlang and the big switch in social games"
PDF
Erlang: Bult for concurrent, distributed systems
PDF
Rewind the last half year for Erlang
KEY
Osdc 2011 michael_neale
PDF
Erlang, an overview
PDF
Introduction To Erlang Final
PDF
FunctionalConf '16 Robert Virding Erlang Ecosystem
KEY
Intro to Erlang
PDF
Why Erlang? - Bar Camp Atlanta 2008
PDF
Errors and handling them. YOW nights Sydney 2011
PDF
Error Handling Done Differently
PDF
Erlang Lightning Talk
PDF
"erlang, webmail and hibari" at Rakuten tech talk
PDF
You shall not get excited
PDF
Erlang Message Passing Concurrency, For The Win
PDF
Erlang: Software for a Concurrent world
PDF
Erlang - Concurrent Language for Concurrent World
PPTX
Erlang intro
PDF
The design and implementation of a scalable concurrent virtual machine (Rober...
Erlang, the big switch in social games
Erlang factory SF 2011 "Erlang and the big switch in social games"
Erlang: Bult for concurrent, distributed systems
Rewind the last half year for Erlang
Osdc 2011 michael_neale
Erlang, an overview
Introduction To Erlang Final
FunctionalConf '16 Robert Virding Erlang Ecosystem
Intro to Erlang
Why Erlang? - Bar Camp Atlanta 2008
Errors and handling them. YOW nights Sydney 2011
Error Handling Done Differently
Erlang Lightning Talk
"erlang, webmail and hibari" at Rakuten tech talk
You shall not get excited
Erlang Message Passing Concurrency, For The Win
Erlang: Software for a Concurrent world
Erlang - Concurrent Language for Concurrent World
Erlang intro
The design and implementation of a scalable concurrent virtual machine (Rober...
Ad

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
KodekX | Application Modernization Development
PPTX
Cloud computing and distributed systems.
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
cuic standard and advanced reporting.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Dropbox Q2 2025 Financial Results & Investor Presentation
The Rise and Fall of 3GPP – Time for a Sabbatical?
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
KodekX | Application Modernization Development
Cloud computing and distributed systems.
Building Integrated photovoltaic BIPV_UPV.pdf
Electronic commerce courselecture one. Pdf
Machine learning based COVID-19 study performance prediction
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
“AI and Expert System Decision Support & Business Intelligence Systems”
Programs and apps: productivity, graphics, security and other tools
Per capita expenditure prediction using model stacking based on satellite ima...
cuic standard and advanced reporting.pdf

Erlang: TL;DR

  • 1. Erlang TL;DR edition for busy ruby peoples A short presentation :D • with bullet points :( and no lolcats :( in a default keynote theme :( by Vaughan Allan :D http://github.com/vorn @vornstar
  • 3. Erlang in 2 minutes • Functional • Built for reliability (nine nines) • Some nice adjectives include: • concurrent, distributed, “soft real-time” • fault tolerant • scalable (cloud-scale, web-scale) • green (sort of)
  • 4. Erlang in 2 minutes • Gotchas include: • It looks a lot like Prolog • Immutability • No “loops” (use tail recursion, or map funs) • Strings are weird-ish
  • 5. OTP in 5 minutes • It’s an application framework • Release handling (sort of), hot code-swapping • Supervision Tree • Patterns (behaviours)
  • 7. Behaviours • gen_sup - supervisor, often linked to one of: • gen_server - generic module • gen_fsm - finite state machine • gen_event - event-driven pub/sub
  • 9. WTFBRO this ain’t Ruby • You might be using it already (hello, CouchDB?) • Integration options: • Ruby-Erlang bridge (erlectricity, experimental) • ZeroMQ • DIY (REST/socket APIs are easy *) • It runs on Heroku ** • https://github.com/vorn/ChicagoBoss-on-Heroku
  • 10. Build Something • rebar - a build tool (on steroids) • ChicagoBoss - (Rails-like MVC Framework) • for immediate gratification • webmachine by Basho (a “REST Toolkit”) • Emacs! (?)
  • 11. Hack Something • ChicagoBoss - http://github.com/evanmiller • http://github.com/languages/Erlang • Riak, RabbitMQ , eJabberd, CouchDB
  • 12. Read Something “Don't drink too much • http://learnyousomeerlang.com Kool-Aid” • “Programming Erlang” (pragprog.com) • “Erlang Programming” (O’Reilly) - good for learning OTP • “Erlang and OTP in Action” (Manning) • “7 Languages in 7 weeks” (pragprog.com)
  • 13. Erlang Pizzafest • Every 2mths @ RocketBoots • Next meetup Tues 5th June • http://bit.ly/erl_syd • No experience necessary (pizza xp assumed)
  • 14. Double-Click to Edit (this is the last slide)

Editor's Notes