[erlang-questions] Erlang OTP 22.0-rc1 is available for testing!

Henrik Nord X henrik.x.nord@REDACTED
Wed Feb 27 13:22:47 CET 2019

OTP 22 Release Candidate 1

This is the first of three planned release candidates before the OTP 22 release.

The intention with this release is to get feedback from our users. All feedback i wellcome, even if it is only to say that it works for you,

Erlang/OTP 22 is a new major release with new features, improvements as well as incompatibilities.

Potential Incompatibilities

  *   gen_* behaviours, If logging of the last N messages through sys:log/2,3 is active for the server, this log is included in the terminate report.
  *   New element, Opts, can now be included in a rel tuple in the reltool release specific configuration format: {rel, Name, Vsn, RelApps, Opts}.
  *   All external pids/ports/refs created by erlang:list_to_pid and smilar functions now compare equal to any other pid/port/ref with same number from that node.
  *   Old legacy erl_interface library is deprecated as of OTP 22, and will be removed in OTP 23. This does not apply to the ei library.
  *   VxWorks is deprecated as of OTP 22 and will be removed in OTP 23.

Known problems

Native code generation does not work for all modules due to new beam instructions not supported by HiPE the native compiler.
Dialyzers automatic compilation to native code does still work.
Building OTP with the configure option enable-native-libs will not work in this release candidate.


  *   Support for Erlang Distribution protocol to split the payload of large signals into several fragments.
  *   ETS option write_concurrency now also effects and improves scalability of ordered_set tables.
  *   The lenght/1 BIF used to calculate the length of the list in one go without yielding, even if the list was very long, Now yields when called with long lists.
  *   A new (still experimental) module socket is introduced. It is implemented as a NIF and the idea is that it shall be as "close as possible" to the OS level socket interface.


  *   The compiler has been rewritten to internally use an intermediate representation based on Static Single Assignment (SSA). The new intermediate representation makes more optimizations possible.
     *   The binary matching optimizations are now applicable in many more circumstances than before.
     *   Type optimizations are now applied across local function calls, and will remove a lot more redundant type tests than before.
  *   All compiler options that can be given in the source file can now be given in the option list on the command line for erlc.

Standard libraries:

  *   Cover now uses the counters module instead of ets for updating counters. New function cover:local_only/0 allows running Cover in a restricted but faster local-only mode. The increase in speed will vary depending on the type of code being cover-compiled, e.g. the compiler test suite runs more than twice as fast with the new Cover.
  *   SSL now uses the new logger API, including log levels and verbose debug logging.

For more details see

Pre built versions for Windows can be fetched here:

Online documentation can be browsed here:

The Erlang/OTP source can also be found at GitHub on the official Erlang repository,



GitHub - erlang/otp: Erlang/OTP<https://github.com/erlang/otp>
Erlang/OTP. Erlang is a programming language and runtime system for building massively scalable soft real-time systems with requirements on high availability.. OTP is a set of Erlang libraries, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang, and a set of design principles for Erlang programs. ...


Thank you for all your contributions!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190227/63797cf6/attachment.htm>

More information about the erlang-questions mailing list