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

Ferenc Holzhauser ferenc.holzhauser@REDACTED
Tue Jan 28 18:37:26 CET 2014


Thanks. The behaviour is quite neatly described in the documentation. If
there is no intention to change it (which is probably the case by now) then
perhaps it is also an idea to remove the experimental warning or replace it
with a more appropriate one about correct use. The name of the directive is
deceptive enough to bring the unwary to ideas and eventually make them
break things.

If well understood then it can be useful to trigger other things than NIF
loading but I also think that the documentation should generally discourage
that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140128/4bc0c680/attachment.htm>


More information about the erlang-questions mailing list