Entering “The Ghetto”.

I’m taking some time to start learning the Erlang programming language. Here are some resources I collected if you want to take a peek into this warlock.

Online Resources

Try Erlag
http://www.tryerlang.org

InfoQ
http://www.infoq.com/

Erlang Factory
http://www.erlang-factory.com/

Learn some Erlang for great good
learnyousomeerlang.com/

Books

Seven Languages in Seven Weeks

By: Bruce A. Tate
Programming Erlang

By: Joe Armstrong
Erlang Programming – A Concurrent Approach to Software Development

By: Francesco Cesarini & Simon Thompson

Erlang and OTP in Action

By: Martin Logan, Eric Merritt, and Richard Carlsson

Videos

An Introduction to Erlang (For Python Programmers)
O’Reilly webcast hosted by Paul Berry on the Erlang programming language.
[youtube:http://www.youtube.com/watch?v=yRJZxV8uPhg%5D
I found this to be a really good video. Here are some of my notes from Paul’s webcast.

7 weird things about Erlang

  1. Syntax is based on Prolog
  2. !OO – Erlang is Functional
  3. Everything is immutable
  4. No built-in looping constructs
  5. Recursion is good.
  6. Strings are list of integers
  7. No if then else … Kinda

Linking process together

spawn_link() links two process together.
–  If one process dies, then the other dies as-well.

trap_exit
Process can captured and be controlled by the programmer.
– Kill the self process
– Do nothing
– Restart the crashed process

So from my understanding if you have two process linked together and one of them dies. You can program the process to restart the killed process. Kinda feels like we are in SkyNet territory now.

Hot swappable code
You can create two instances of a process to preform live edits to a running process.

Here are two great videos I found on Erlang. I didn’t take any notes on them but they still have solid information.

Erlang/OTP
By: Lennart Ohman Sjoland & Thyselius AB
[youtube:http://www.youtube.com/watch?v=OpYPKBQhSZ4%5D

Erlang in production: “I wish I’d known that when I started”
By: Bernard Duggan
[youtube:http://www.youtube.com/watch?v=G0eBDWigORY%5D

Additional here are some Erlang entertainment videos.
Erlang: The Movie (Edited Version)
[youtube:http://www.youtube.com/watch?v=uKfKtXYLG78%5D

The Ghetto
[youtube:http://www.youtube.com/watch?v=zY-IueSMAPc%5D

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s