[erlang-questions] Implementation of erlang binary module
Sat Jan 21 14:38:12 CET 2017
Standard library rarely uses dynamic loaded SO/DLL modules (so called
NIFs), rather they use BIF functions, code for them is included straight
into Erlang/OTP C source and follows different rules than NIF. Have a
search through source C files for binary_<function name>_<arity>, with high
chance you will find the C source by this name.
2017-01-21 13:27 GMT+01:00 Karlo Kuna <>:
> I was wandering how is standard module "binary" implemented
> i am looking at source and i see that most functions are nifs (this makes
> but there is no "-on_load" directive and i can't find c implementation.
> Please can someone explain to me how is this module using nifs without
> -on_load directive and also can tell me where is c implementation??
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions