OTP 20.0 发布了,OTP (Open Telecom Platform) 是一个开源的 Erlang 分发和一个用 Erlang 编写的应用服务器。
Erlang / OTP 20.0是一个新的主要版本,新增了一些新功能,不少(特征)改进。与第二个候选版本相比的变化如下:
主要更新内容: 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.
…… 完整更新内容请查看发行首页。 下载地址: |