[erlang-questions] HiPE on .beam files? (was: Why can't HiPE inline functions across ...)

Paul Fisher pfisher@REDACTED
Fri Nov 21 16:11:53 CET 2008


Mikael Pettersson wrote:
 > > For better or worse, HiPE is not structured as a typical Java JIT,
 > > but more as a traditional ahead-of-time compiler (though it can be
 > > invoked at runtime in a running system). One of its current limitations
 > > is that it does not retain the native code's original Erlang/BEAM code
 > > at runtime, and that makes runtime recompilation of native code 
impossible.

Tangentially, is it possible to take a .beam file w/o native code, run
HiPE on it generating a new .beam file with native code?  This would be
wonderful as an install-time tool for people who want to always run
everything with HiPE.


--
paul



More information about the erlang-questions mailing list