Hipe question

Mickael Remond <>
Wed Sep 26 23:01:53 CEST 2001


Richard Carlsson () wrote:
> 
> The module 'hipe' should be used directly only by diehard
> experimentalists. For normal use, just write "c(my_module, [native])" in
> the shell. This will create a .beam file, which also contains the native
> code as a chunk. Whenever such a file is loaded (in a HiPE-enabled
> system), the native code will be used if possible (i.e., if it was
> created on the same kind of system - sparc/solaris or x86/linux) rather
> than the Beam code (which is also included in the file). Of course, if
> you use the shell "c(...)" function, the module will be autoloaded.
> 
> "Just like that!"

Thank you. That is what I was missing. I am on x86 so I will wait for
the integration of the native code integration into the beam.

This is very clever. I like that.

-- 
Mickaël Rémond
http://www.erlang-fr.org/




More information about the erlang-questions mailing list