Chapter 2A Whirlwind Tour of Erlang
In this chapter, we’ll build our first concurrent program. We’ll make a file server. The file server has two concurrent processes; one process represents the server, and the other represents the client.
We’ll start with a small Erlang subset so we can show some broad principles without getting bogged down with the details. At a minimum we have to understand how to run code in the shell and compile modules. That’s all we need to know to get started.
The best way to learn Erlang is to type in the examples into a live Erlang system and see whether you can reproduce what’s in this book. To install Erlang, refer to http://joearms.github.com/installing.html. We try to keep the install instructions up-to-date. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access