发布于 2017-06-22 00:48:03 | 189 次阅读 | 评论: 0 | 来源: 网友投递

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

OTP Erlang 编写的应用服务器

OTP (Open Telecom Platform) 是一个开源的 Erlang 分发和一个用 Erlang 编写的应用服务器,由爱立信开发。


OTP 20.0 发布了,

Erlang / OTP 20.0是一个新的主要版本,新增了一些新功能,不少(特征)改进。与第二个候选版本相比的变化如下:

  • ERTS:In the OTP 20 release candidates the function erlang:term_to_binary/1 changed the encoding of all atoms from ATOM_EXT to ATOM_UTF8_EXT and SMALL_ATOM_UTF8_EXT. This is now changed so that only atoms actually containing unicode characters are encoded with the UTF8 tags while other atoms are encoded ATOM_EXT just as before.

主要更新内容:

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.

……

完整更新内容请查看发行首页

下载地址:



历史版本 :
OTP 19.2.3.1 发布,Erlang 应用服务器
OTP 20.1.4 发布,Erlang 应用服务器
OTP 20.0.5 发布,Erlang 应用服务器
OTP 20.0.4 发布,Erlang 应用服务器
OTP 20.0.3 发布,Erlang 应用服务器
OTP 20.0 发布,Erlang 应用服务器
OTP 18.2.4.0.1 发布,Erlang 应用服务器
OTP-19.3 发布,Erlang 应用服务器
OTP 19.2.3 发布,Erlang 应用服务器
OTP 18.3.4.5 发布,Erlang 应用服务器
OTP 19.2 发布,Erlang 应用服务器
OTP 19.1.6 发布,Erlang 应用服务器
最新网友评论  共有(0)条评论 发布评论 返回顶部

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