Questions tagged [hipe]

HiPE stands for High-Performance Erlang. It is a feature to compile Erlang into native code.

16 questions
12
votes
2 answers

Erlang OTP release compiles with HiPE?

After reading this question Is Erlang the C of the clustered computing world? , I am wondering the official Erlang OTP compiles with HiPE? In other words, when I compile my .erl source with the OTP release R13 (as example), does it produce "object…
jldupont
  • 93,734
  • 56
  • 203
  • 318
11
votes
4 answers

Cannot start sample erlang release generated with rebar

I'm a beginner with rebar and erlang generally. I was trying to create an erlang release with rebar according to this tutorial: http://www.metabrew.com/article/erlang-rebar-tutorial-generating-releases-upgrades and got stuck at the point of running…
ghik
  • 10,706
  • 1
  • 37
  • 50
7
votes
1 answer

What are the constraints/limitations of compiling with "+native"?

What are the limitations/constraints when compiling Erlang .erl source with the +native option compared with the usual "non native" compilation? Related to: Erlang OTP release compiles with HiPE?
jldupont
  • 93,734
  • 56
  • 203
  • 318
5
votes
1 answer

Erlang compilation: mixed of "HiPE object code" and "opcode"?

Is it possible to have a VM instance that executes both HiPE code and the usual "opcode" based objects at the same time? This question is related to : Erlang OTP release compiles with HiPE?
jldupont
  • 93,734
  • 56
  • 203
  • 318
4
votes
1 answer

Erlang deploying with Rebar, hipe error {"init terminating in do_boot",{'cannot load',hipe,get_file}}

Very new to Erlang, and any attempt to run a simple hello world program using the rebar results in the following error: ./rel/mysample/bin/mysample console Exec: /home/jwong/erlang_examples/mysample/rel/mysample/erts-5.9.2/bin/erlexec -boot …
Jeff Wong
  • 106
  • 1
  • 8
3
votes
1 answer

Erlang vm loads without hipe support on ubuntu vm

I recently installed Ubuntu 16.04 Server on a Virtualbox vm. After that I wanted to install erlang using the following script: #!/bin/sh DESTDIR="$HOME/workspace/erlang" ACTIVATE=".…
tnull
  • 728
  • 5
  • 17
3
votes
2 answers

Erlang HIPE on Windows 10?

When compiling Erlang or Elixir code on Windows 10 I get this warning: this system is not configured for native-code compilation. Is HIPE available for Windows 10?
Filip Haglund
  • 13,919
  • 13
  • 64
  • 113
1
vote
3 answers

Is HIPE with RabbitMQ production ready?

does anyone enabled HIPE on RabbitMQ on production servers, if yes, did you face any problems beside the Rabbimq start-up time ,
Gaurav Garg
  • 137
  • 1
  • 9
1
vote
1 answer

Hipe Not Found in Erlang R18

When I try to use Hipe to compile a module from the Erlang shell, I get: 3> hipe:c(erlangmodules2,[native]). ** exception error: undefined function hipe:c/2 4> hipe:help(). ** exception error: undefined function hipe:help/0 Isn't Hipe part of…
ElToro1966
  • 831
  • 1
  • 8
  • 20
1
vote
0 answers

erlang installation hipe issue on centos 6.7 - linux

I am trying to install ejabberd server. For that i am trying to install ERL depencies. wget http://www.erlang.org/download/otp_src_18.1.tar.gz tar -xzvf otp_src_18.1.tar.gz cd otp_src_18.1 ./configure make With above command give me below error in…
Kishan Patel
  • 1,358
  • 10
  • 24
1
vote
2 answers

hipe compile option meaning and where is the native file

When reading rabbitmq's rabbit.erl,it contain hipe compilation related code. hipe_compile() -> Count = length(?HIPE_WORTHY), io:format("HiPE compiling: |~s|~n |", [string:copies("-", Count)]), T1 =…
Chen Yu
  • 3,955
  • 1
  • 24
  • 51
0
votes
1 answer

Erlang debugging: Natively compiled modules breaking tools like recon and redbug

I'm using erlang 17.3 and can confirm that tracing tools like redbug and recon do not work on modules compiled with +native flag. Is this expected ? I can't find any documentation on the web that would confirm this behavior. If it's not a bug, then…
sa___
  • 363
  • 2
  • 12
0
votes
1 answer

Rebar eunit runs non native (non Hipe) code

I have compiled my Erlang module using rebar compile using the following option in rebar.config {erl_opts, [native, {hipe, [verbose]}, warnings_as_errors, debug_info]}. {eunit_compile_opts, [native, {hipe, [verbose]}, warnings_as_errors,…
Vishal
  • 1,169
  • 2
  • 12
  • 20
0
votes
1 answer

How to verify if Erlang runtime and loader is indeed running native code

I am trying to explore performance improvements by switching to native compilation for my Erlang code (native option and {hipe, [verbose]}). How can I make sure that the Erlang loader is indeed using the native code from the beam file? Is there some…
Vishal
  • 1,169
  • 2
  • 12
  • 20
0
votes
2 answers

RabbitMQ - MQTT adapter hipe compilation

I have enable hipe compilation in config as follows: [ {rabbit, [ ... {hipe_compile, true} ] }, {rabbitmq_mqtt,... But post restart of rabbitmq, I dont find the rabbitmq_mqtt module under the {hipe_modules} section: >…
JayabalanAaron
  • 360
  • 3
  • 13
1
2