Erlang NIF (Native Code Functions) example. Basically article shows how
to connect the library written in C and compiled with GNU gcc to the
erlang code. That is very important when speed optimisation is required
for some Erlang code piece. Example is very basic and just shows types
conversion between two languages.
Read complete article: Erlang: How to integrate C with Erlang program example or Erlang NIFs (Native Implemented Functions) usage