[erlang-questions] Is on_load official?

Gleb Peregud gleber.p@REDACTED
Fri Dec 30 13:45:03 CET 2011


Hello OTP team

Is on_load official and can be considered stable? In "Compilation and
Code loading"[1] it is said (last sentence is the most interesting
part):

=======================================================
Warning

This section describes an experimental feature that
was introduced in R13B03, and changed in a
backwards-incompatible way in R13B04. *There may be more
backward-incompatible changes in future releases*.
=======================================================

but in "man erl_nif" it is said that "The NIF concept is officially
supported from R14B"[2]

I think those two statements are a bit conflicting, since on_load is a
standard method of loading NIF implementation libraries.

Comments?

Thanks!
Gleb Peregud

1: http://www.erlang.org/doc/reference_manual/code_loading.html
2: http://www.erlang.org/doc/man/erl_nif.html



More information about the erlang-questions mailing list