OTP 20.0 发布了,OTP (Open Telecom Platform) 是一个开源的 Erlang 分发和一个用 Erlang 编写的应用服务器。 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. …… 完整更新内容请查看发行首页。 下载地址: Source code (zip) Source code (tar.gz) >>>【评论有礼】6月6日-30日评论每日更新的“新闻资讯和软件更新资讯”,评论点赞数超过 20 的可登上每周更新的“源资讯”和“软件周刊”两大栏目,点赞数超过 50 的还将获得 5 活跃积分奖励和开源中国定制好礼。详情 OTP 20.0 发布,Erlang 应用服务器下载地址