Erlang OTP release compiled with HiPE?

After reading this question Is Erlang C a clustered computing world? I'm wondering if the official Erlang OTP is compiled using HiPE?

In other words, when I compile my .erl source with the release of RTP R13 (as an example), does it generate BEAM "object code"?

Looking at http://www.it.uu.se/research/group/hipe/ , it does not show that the standalone HiPE compiler is supported anymore.

+13
erlang hipe
Feb 05 '10 at 13:08
source share
2 answers

By default, HiPE is not used to compile OTP. It is known, however, that OTP libraries can be compiled using HiPE with typically improved performance (although this depends on your application).

When you run erlc in your .erl file, a BEAM file is created that is NOT compiled into native code using HiPE. To compile the .erl file into native code using HiPE, simply run erlc +native file.erl .

The standalone HiPE compiler is no longer supported as it was included in the main Erlang / OTP distribution.

+20
Feb 05 '10 at 13:24
source share

I think it depends on what parameters you passed to the configure script when compiling the Erlang compiler. Of course, it can include it, but regardless of whether it does it by default or not, this is another problem.

+1
Feb 05 '10 at 13:14
source share



All Articles