[announce] Erlang ported to linksys nslu2

Mikael Pettersson mikpe@REDACTED
Tue May 17 10:06:56 CEST 2005


Brian Zhou writes:
 > The next step is try to get it cross build as the complete native 
 > compilation took about 10 hours.

Erlang/OTP isn't set up for cross-compilation.
You may be in for a world of pain...

 > Does anyone know what it takes to port HiPE to ARM?

Easy, provide us with the HW :-) Seriously, any 32-bit CPU
sensible enough to be able to run Linux and the gcc toolchain,
and which is already running Erlang's BEAM interpreter, should
be "supportable". I haven't studied the ARM ISA so I can't
comment on whether generating native code would be easy or hard.

 > And how much performance 
 > gain can one expect?

That depends on many factors, but as a rough cut, say a factor
of 2-4 for computational code. For I/O or BIF-bound server style
applications, native code won't bring much benefit.

/Mikael



More information about the erlang-questions mailing list