介绍:

Erlang运行时环境是一个虚拟机,有点像Java虚拟机,这样代码一经编译,同样可以随处运行。它的运行时系统甚至允许代码在不被中断的情况下更新。另外如果你需要更高效的话,字节代码也可以编译成本地代码运行。

Erlang特性:

● 并发性 – Erlang支持超大量级的并发线程,并且不需要操作系统具有并发机制。

● 分布式 – 一个分布式Erlang系统是多个Erlang节点组成的网络(通常每个处理器被作为一个节点)

● 健壮性 – Erlang具有多种基本的错误检测能力,它们能够用于构建容错系统。

● 软实时性- Erlang支持可编程的“软”实时系统,使用了递增式垃圾收集技术。

● 热代码升级-Erlang允许程序代码在运行系统中被修改。旧代码能被逐步淘汰而后被新代码替换。在此过渡期间,新旧代码是共存的。

●递增式代码装载-用户能够控制代码如何被装载的细节。

●外部接口-Erlang进程与外部世界之间的通讯使用和在Erlang进程之间相同的消息传送机制。

●Fail-fast(中文译为速错),即尽可能快的暴露程序中的错误。

●面向并发的编程(COP concurrency-oriented programming)

●函数式编程

●动态类型

●及早求值或严格求值

●脚本语言

安装步骤:

1.下载erlang http://www.erlang.org/download.html(如果下载: OTP 17.1 Windows 64-bit Binary File (91.8 MB))。

2.安装下载的exe文件,注意安装的目录中不要存在空格。

3.配置环境变量。在系统变量中建立变量名为“ERL_HOME”,值为erlang的安装目录。

4.在PATH变量中添加“%ERL_HOME%\bin”(引号内的,需要注意 原有的path变量如果最后没有;分割需要添加)。

5.启动运行,在控制台输入“erl”,如果出现类似“Eshell V6.1 (abort with ^G)”字样,说明安装成功。

912sy.com download resources are from the network, only for learning and reference use, the copyright belongs to the original author, do not use for commercial purposes, please remove yourself within 24 hours after downloading.
If the content published on this site inadvertently violates your rights and interests, please contact us and the site will be deleted within one business day.If you encounter any problems please contact customer service QQ:2385367137
912sy " Installing Erlang on Win7 64-bit