• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Erlang: TL;DR
 

Erlang: TL;DR

on

  • 717 views

A lightning talk presented at Rails Oceania Sydney, M

A lightning talk presented at Rails Oceania Sydney, M

Statistics

Views

Total Views
717
Views on SlideShare
716
Embed Views
1

Actions

Likes
0
Downloads
2
Comments
0

1 Embed 1

http://www.hanrss.com 1

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Erlang: TL;DR Erlang: TL;DR Presentation Transcript

  • 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
  • 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 “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)
  • 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)