发布于 2017-06-23 23:46:50 | 154 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Erlang 编程语言

Erlang是一个结构化,动态类型编程语言,内建并行计算支持。最初是由爱立信专门为通信应用设计的,比如控制交换机或者变换协议等,因此非常适 合于构建分布式,实时软并行计算系统。


Erlang/OTP 20.0 是一个新的主要版本,带来了新功能、一些特征以及不兼容性的改进。

与第二次发布的 RC 版相比,只有很小的变化,下面列出了其中的一部分:

  • ERTS:

    • erlang:term_to_binary/1 更改了所有 atoms 的编码,由 ATOM_EXT 变为 ATOM_UTF8_EXT 和 SMALL_ATOM_UTF8_EXT。因此只有包含 unicode 字符的 atom 才使用 UTF8 标签编码,其他的 atoms像以前一样编码为 ATOM_EXT

以下是 OTP 20 中的一些重要更新:

Erts:

  • Dirty schedulers enabled and supported on VM with SMP support.

  • support for “dirty” BIFs and “dirty” GC.

  • erlang:garbage_collect/2 for control of minor or major GC

  • Erlang literals are no longer copied when sending messages.

  • Improved performance for large ETS tables, >256 entries (except ordered_set)

  • erlang:system_info/1 atom_count and atom_limit

  • Reduced memory pressure by converting sub-binaries to heap-binaries during GC

  • enif_select, map an external event to message

  • Improvements of timers internally in the VM resulting in reduced memory consumption and more efficient administration for timers

Compiler:

  • Code generation for complicated guards is improved.

  • Warnings for repeated identical map keys. #{'a'=>1, 'b'=>2, 'a'=>3} will warn for the repeated key a.

  • By default there is now a warning when export_all is used. Can be disabled

  • Pattern matching for maps is optimized

  • New option deterministic to omit path to source + options info the BEAM file.

  • Atoms may now contain arbitrary unicode characters.

  • compile:file/2 has an option to include extra chunks in the BEAM file.

更新内容较多,详情点此查阅

下载地址:

发布主页



历史版本 :
Erlang/OTP 20.2 发布,动态类型编程语言
Erlang/OTP 20.0 发布,动态类型编程语言
emqttd 2.1.0 发布,Erlang 集群 MQTT 消息服务器
emqttd 1.1.3 ,Erlang 集群 MQTT 消息服务器
Emqttd 1.1.2-beta 发布, Erlang 集群 MQTT 消息服务器
Erlang/OTP 19.0 发布,动态类型编程语言
Erlang/OTP 18.3.4 发布,动态类型编程语言
Erlang/OTP 19.0.rc2 发布
Emqttd 1.1-beta 版本发布,Erlang 集群 MQTT 消息服务器
Erlang/OTP 19.0.rc1 发布,动态类型编程语言
Erlang/OTP 18.3.3 发布
Emqttd 1.0 (七英里)版本发布, Erlang 集群 MQTT 消息服务器
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务