Your SlideShare is downloading. ×
Erlang: TL;DR
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Erlang: TL;DR

539
views

Published on

A lightning talk presented at Rails Oceania Sydney, M

A lightning talk presented at Rails Oceania Sydney, M

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
539
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. ErlangTL;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
    • 2. 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)
    • 3. 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
    • 4. OTP in 5 minutes• It’s an application framework• Release handling (sort of), hot code-swapping• Supervision Tree• Patterns (behaviours)
    • 5. Supervision Tree
    • 6. Behaviours• gen_sup - supervisor, often linked to one of:• gen_server - generic module• gen_fsm - finite state machine• gen_event - event-driven pub/sub
    • 7. Supervision Tree
    • 8. 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
    • 9. Build Something• rebar - a build tool (on steroids)• ChicagoBoss - (Rails-like MVC Framework) • for immediate gratification• webmachine by Basho (a “REST Toolkit”)• Emacs! (?)
    • 10. Hack Something• ChicagoBoss - http://github.com/evanmiller• http://github.com/languages/Erlang• Riak, RabbitMQ , eJabberd, CouchDB
    • 11. Read Something “Dont 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)
    • 12. Erlang Pizzafest• Every 2mths @ RocketBoots• Next meetup Tues 5th June• http://bit.ly/erl_syd• No experience necessary (pizza xp assumed)
    • 13. Double-Click to Edit (this is the last slide)