[erlang-questions] Proposal to remove tuple dispatches from Erlang

Björn Gustavsson bjorn@REDACTED
Thu Feb 14 12:22:02 CET 2019


On Thu, Feb 14, 2019 at 11:59 AM Richard Carlsson
<carlsson.richard@REDACTED> wrote:
>
> For existing beam code that relies on tuple calls (parameterized modules), there is now an upgrade path that allows you to bring the old code up on OTP 21 before you recompile with the +tuple_calls compiler option (which does not exist in OTP 20 and earlier):
> https://github.com/erlang/otp/pull/2113
>
> For current users of OTP 21, this changes nothing (i.e., there is no tuple dispatch) unless you explicitly pass the new '+ztma true' flag.
> (The flag will not be available in OTP 22, so this is just for the transition.)

Here is the pull request that removes the emulator option in OTP 22:

https://github.com/erlang/otp/pull/2142

/Björn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list