Erlang - Dive Right In
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Erlang - Dive Right In

on

  • 712 views

A *very* basic lightning talk introducing Erlang at the first Erlang-Sydney meetup.

A *very* basic lightning talk introducing Erlang at the first Erlang-Sydney meetup.

Statistics

Views

Total Views
712
Views on SlideShare
712
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

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

Erlang - Dive Right In Presentation Transcript

  • 1. ErlangDIVE RIGHT INA short presentationwith bullet pointsbut no lolcatsin a default keynote themeby Vaughan Allanhttp://github.com/vorn
  • 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. 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)
  • 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. Double-Click to Edit (this is the last slide)