Skip to content

MissaouiChedy/nativly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nativly

Small and simple elixir application demonstrating the usage of [Nifs] from Elixir, containing the examples from thei "Using C++ from elixir with nifs" blog post.

Installation

In order to build the native C++ code you will need the following:

  • g++ compiler
  • The Erlang dev package which contains <erl_nif.h>

Usage

Checkout the lib/nativly.ex file, it contains the nifs. Checkout the native_lib/nativly.cpp file, it contains the actual native implementation of the nifs.

About

Minimal example of the usage of Nifs in Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published