FFI
A Foreign Function Interface (FFI) for Elixir:
https://github.com/joshnuss/elixir-ffi
Makes it easy to call C functions from Elixir without needing Ports or custom NIFs
defmodule MyLib do
use FFI.Library
ffi_lib "libstdc++.so.6"
attach_function :puts, [:string], :int
end
MyLib.puts(["Hello World from C stdlib"])