Erlang Program Design (2nd edition) reading notes (i)

Source: Internet
Author: User

As the future of code says, in order to take full advantage of multicore, concurrency becomes the trend that will become the future, for concurrent programming support, Erlang is really the best choice, Erlang is still relatively small in the country, the classic books are relatively much less, finally selected "Erlang Programming 2nd Edition" As my first book on the basics of Erlang.

Erlang Official website: http://www.erlang.org/

Erlang Installation:

Available for Ubuntu and Debian distributions: Apt-get install Erlang;

For other UNIX and Linux platforms, you can download the source code and build it manually, as follows:

Download:http://www.erlang.org/download.html

1. Extract source code: $ tar zxf otp_src_17.3.tar.gz2. $ cd opt_src_17.33. $./configure4. $ make5. $ make Install

Erlang is a functional programming language designed primarily to solve problems such as concurrency, distributed, fault-tolerant, extensible, and soft real-time systems from the bottom up.

Since there has been no prior contact with functional programming, it is easy to step through the sequence of programming.

Erlang enters the shell programming environment very simple, similar to Python, in the terminal directly enter the ERL, exit can use CTRL + C and then enter a method, but this may lead to some data destruction, it is best to use Q ().

Erlang Program Design (2nd edition) reading notes (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.