⬆️ ⬇️

Erlang / OTP R16B released

Accidentally opening erlang.org at the end of the working day, I found good news: today a new version of Erlang / OTP - R16B was released.



Running through the highlights , highlighted the following.



Non-blocking code loading


Or in Russian, non-blocking code loading.

Now the virtual machine will continue to work while you are loading / reloading the new module.



Https


HTTPS support through proxy.

')

ETS


Increased the number of table locks from 16 to 64.

Optimized table deletion.



Bif


Added functions: float_to_list / 2 (indicating the number of decimal places), binary_to_integer / 1,2, integer_to_binary / 1, binary_to_float / 1, float_to_binary / 1,2. Now you don't need this dumb list_to_integer(binary_to_list(Int)) .



As well as numerous improvements to work with the ports, some of which, however, can cause problems with backward compatibility (for more details, see paragraph OTP-10336 in highlights ) and changes that are less noticeable at first glance.



Unfortunately, the changelog is not very readable, so probably I missed some important points.



UPD : Another important point, which by the way was not found in realese notes: the use of the “dot” in atoms is now unacceptable (although this was not the case in offshore docks before, but it has been encountered in many applications).

Previously, it was possible to:

 1> user.id. 'user.id' 


Now it will be syntax_error .

Source: https://habr.com/ru/post/171003/



All Articles