[erlang-questions] Is -on_load() still experimental? Anyone using it?

Ferenc Holzhauser <>
Fri Jan 24 18:18:51 CET 2014


Hi Jose,

Thanks for the information. Sounds comforting (not using HiPE).

Regards,
Ferenc


On 24 January 2014 10:48, José Valim <>wrote:

> I have used this feature for a while without running into troubles. The
> only known issue, which has been reported, is that it fails when compiling
> the module with Erlang HiPE.
>
>
>
> *José Valim*
> www.plataformatec.com.br
> Skype: jv.ptec
> Founder and Lead Developer
>
>
> On Fri, Jan 24, 2014 at 10:46 AM, Ferenc Holzhauser <
> > wrote:
>
>> Hi,
>>
>> Recently stumbled into the -on_load() directive. It seems nice to replace
>> manual work (when possible) e.g. when a live update of a library module
>> needs some environment/configuration change on the running system.
>>
>> doc: http://www.erlang.org/doc/reference_manual/code_loading.html#id84676
>>
>>
>> It says it is experimental (since R13B03).
>> After trying, it appears to be doing what I think it supposed to but
>> looking at this note in the doc I'm not sure how safe it is to use in
>> production.
>>
>> Could somebody advise?
>>
>> Thanks in advance,
>> Ferenc
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140124/bd089a10/attachment.html>


More information about the erlang-questions mailing list