[erlang-questions] r17 beam compatibility

Björn-Egil Dahlberg egil@REDACTED
Tue Feb 4 17:12:51 CET 2014


On 2014-02-04 15:27, Magnus Henoch wrote:
> Magnus Henoch <magnus@REDACTED> writes:
>
>> Vlad Dumitrescu <vladdu55@REDACTED> writes:
>>
>>> Hi,
>>>
>>> This is difficult to test comprehensively, so I wil ask: Are there any
>>> changes in the BEAM format in R16 and R17, so that one can't run these
>>> newer beams on R15?
>>>
>>> I know it's not a very good idea, but I might be forced to do that... Or I
>>> will have to work around the problem somehow.
>> According to the comments in genop.tab, there are five new opcodes in
>> R16, but none in 17.0:
>>
>> https://github.com/erlang/otp/blob/OTP_17.0-rc1/lib/compiler/src/genop.tab#L528-L538
> ... though on closer inspection, it seems like that comment is
> misleading: those opcodes were added in 17.0, which suggests that code
> compiled with R16 should run on R15, and code compiled with R17 should
> run on R15 as long as it doesn't use maps.
Very true. We had devbranches where we had maps on R16 and those commits 
were also used in this Maps dev.

Apparently I only changed the comment for the loader in ops.tab ..

>
> Regards,
> Magnus
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>




More information about the erlang-questions mailing list