A Hello World Erlang NIF
C Erlang
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits behind vmx:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
c_src
ebin
src
.gitignore
README.md
rebar
rebar.config

README.md

Hello NIF

This is a really basic NIF to test that everything compiles fine.

This is how you use it:

$ ./rebar compile
==> helloworld (compile)
Compiled src/hello.erl
Compiling c_src/hello.c

$ erl -pa ebin
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:false]

Eshell V5.9.1  (abort with ^G)
1> hello:init().
ok
2> hello:world().
"Hello world!"

License

Choose any OSI approved license you want.