Skip to content

MissaouiChedy/nativly

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

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