Erlang

Introduction

Erlang is a general-purpose concurrent, garbage-collected programming language and runtime system. The sequential subset of Erlang is a functional language, with eager evaluation, single assignment, and dynamic typing. It was designed by Ericsson to support distributed, fault-tolerant, soft-real-time, non-stop applications. It supports hot swapping, so that code can be changed without stopping a system.

While threads require external library support in most languages, Erlang provides language-level features for creating and managing processes with the aim of simplifying concurrent programming. Though all concurrency is explicit in Erlang, processes communicate using message passing instead of shared variables, which removes the need for explicit locks (a locking scheme is still used internally by the VM).

The first version was developed by Joe Armstrong in 1986. It was originally a proprietary language within Ericsson, but was released as open source in 1998.

Usage

OS and Processor Invocation Version(s)
Red Hat Linux (64-bit) % /util/bin/erl OTP 17.0 (default)

Notes

  1. Exit erl with ^G, q.

People

  1. Carl Alphonce, CSE 305 instructor.
  2. Stuart Shapiro, CSE 305 instructor.

References

  1. http://en.wikipedia.org/wiki/Erlang_%28programming_language%29
  2. http://erlang.org/
AttachmentSize
echo.erl841 bytes
otp-system-documentation.pdf981.25 KB