[erlang-questions] r17 beam compatibility

Vlad Dumitrescu <>
Tue Feb 4 16:54:04 CET 2014


Ok, thanks. Good thing you reminded me where to look! :)

regards,
Vlad



On Tue, Feb 4, 2014 at 3:27 PM, Magnus Henoch
<>wrote:

> Magnus Henoch <> writes:
>
> > Vlad Dumitrescu <> 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.
>
> Regards,
> Magnus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140204/a0d81ffd/attachment.html>


More information about the erlang-questions mailing list