OTP 24.0 Release Candidate 1

February 24, 2021 · by Henrik Nord

OTP 24 Release Candidate 1 #

This is the first of three planned release candidates before the OTP 24 release. The intention with this release is to get feedback from our users. All feedback is welcome, even if it is only to say that it works for you.

We encourage users to try it out and give us feedback either by creating an issue here https://github.com/erlang/otp/issues or by posting to the mailing list erlang-questions@erlang.org.

Erlang/OTP 24 is a new major release with new features, improvements as well as a few incompatibilities. Some of the new features are highlighted below.

Highlights #

erts, kernel, stdlib #

  • The BeamAsm JIT-compiler has been added to Erlang/OTP and will give a significant performance boost for many applications. The JIT-compiler is enabled by default on most x86 64-bit platforms that have a C++ compiler that can compile C++17. To verify that a JIT enabled emulator is running you can use erlang:system_info(emu_flavor).
  • A compatibility adaptor for gen_tcp to use the new socket API has been implemented (gen_tcp_socket).
  • Extended error information for failing BIF calls as proposed in EEP 54 has been implemented.
  • Process aliases as outlined by EEP 53 has been introduced.

compiler #

  • Compiler warnings and errors now include column numbers in addition to line numbers.
  • Variables bound between the keywords 'try' and 'of' can now be used in the clauses following the 'of' keyword (that is, in the success case when no exception was raised).

ftp #

Add support for FTPES (explicit FTP over TLS).

ssl #

  • Support for the “early data” feature for TLS 1.3 servers and clients.
  • Make TLS handshakes in Erlang distribution concurrent.

wx #

  • The application has been completely rewritten in order to use wxWidgets version 3 as its base.
  • Added support for wxWebView.

edoc #

  • EDoc is now capable of emitting EEP-48 doc chunks. This means that, with some configuration, community projects can now provide documentation for shell_docs the same way that OTP libraries did since OTP 23.0.

For more details about new features and potential incompatibilities see https://erlang.org/download/OTP-24.0-rc1.README

Pre built versions for Windows can be fetched here: https://erlang.org/download/otp_win32_24.0-rc1.exe https://erlang.org/download/otp_win64_24.0-rc1.exe

Online documentation can be browsed here: https://erlang.org/documentation/doc-12.0-rc1/doc/

The Erlang/OTP source can also be found at GitHub on the official Erlang repository, https://github.com/erlang/otp