Re:Erlang OTP 22.0 is released
by klibertp on Tuesday May 14, 2019 @09:35AM
(#19909289)
Only if you use new BEAM features [EDIT: or new compiler optimizations... this could be hard to avoid, so using HiPE may indeed become hard/impossible for awhile... :(] in the module you want to HiPE-compile:
> In OTP 22, HiPE (the native code compiler) is not fully functional. The reasons for this are:
> There are new BEAM instructions for binary matching that the HiPE native code compiler does not support.
> The new optimizations in the Erlang compiler create new combination of instructions that HiPE currently does not handle correctly.
> If erlc is invoked with the +native option, and if any of the new binary matching instructions are used, the compiler will issue a warning and produce a BEAM file without native code.
> In OTP 22, HiPE (the native code compiler) is not fully functional. The reasons for this are:
> There are new BEAM instructions for binary matching that the HiPE native code compiler does not support.
> The new optimizations in the Erlang compiler create new combination of instructions that HiPE currently does not handle correctly.
> If erlc is invoked with the +native option, and if any of the new binary matching instructions are used, the compiler will issue a warning and produce a BEAM file without native code.
Source: http://erlang.org/download/otp_src_22.0.readme (search for OTP-15596)