[rabbitmq-discuss] Are .beam files compiled for any architecture?

Matthias Radestock matthias at rabbitmq.com
Tue Sep 28 01:26:04 BST 2010


Harold,

Harold Rabbie wrote:
> I've downloaded rabbitmq-server-generic-unix-2.1.0.tar.gz, and I see
> that it includes precompiled Erlang .beam files.
> 
> Are these .beam files compiled with native code optimization for the
> x86 architecture?
> 
> Or are they just straight Erlang byte codes, and can therefore run on
> any (non-x86) architecture?

All the beam files are non-native, compiled with R12, so should work 
across platforms on any Erlang later than that.

Btw, I haven't looked at the native compilation in Erlang for a while. 
For rabbit it didn't yield any benefits last time I tried.


Regards,

Matthias.


More information about the rabbitmq-discuss mailing list