dyncall library - C foreign function interface dyncall library: home - news - download - source/repository - bindings - documentation - license - credits - showcase/users - contact University of Göttingen 3ds Max, Maya Plugin Development - Potion Studios

Bindings to other languages

Dyncall bindings to different programming languages are hosted on a plublicly accessible mercurial repository. To checkout, use

hg clone https://dyncall.org/pub/dyncall/bindings/

The following is a list of quick infos about the dyncall bindings in the repository. See further projects using dyncall for the implementation of FFIs at showcase/users.

 

R

Package rdyncall contributes an advanced FFI for the R programming language and includes recent research results for dynamic binding of C APIs in cross-platform portable manner. The package is on CRAN. The current version of the package is 0.8.0. See details for package on CRAN here.

A paper is available that gives a general introduction to dynamic bindings and discusses the FFI facilities for R offered by the package.

Browse Repo: https://dyncall.org/pub/dyncall/bindings/file/tip/R/rdyncall/

Author: Daniel Adler

 

Lua

luadyncall is a Lua module offering dynamic bindings to shared libraries (GL,GLU,SDL,OpenGL 3,..) similar to the rdyncall package using an improved type information format. It is still in early stage and sources are available via mercurial.

Browse Repo: https://dyncall.org/pub/dyncall/bindings/file/tip/lua/luadyncall

Author: Daniel Adler

 

Erlang

erldc is a Erlang nif-binding to dyncall.

Browse Repo: https://dyncall.org/pub/dyncall/bindings/file/tip/erlang/erldc

Author: Erik Mackdanz

 

Ruby

rbdc offers basic Ruby bindings to the dyncall API. Examples on how to use the binding are here. A gem is available at rubygems.org/gems/rbdc and can be installed as follows: gem install rbdc

Browse Repo: https://dyncall.org/pub/dyncall/bindings/file/tip/ruby/rbdc

Author: Tassilo Philipp

 

Python

pydc is a Python interface to the dyncall API. (Experimental)

Browse Repo: https://dyncall.org/pub/dyncall/bindings/file/tip/python/pydc

Author: Daniel Adler

 

Shell

shdc is a small executable and offers a minimalistic way to make arbitrary calls to C libraries. Make C calls from within shell scripts!

Browse Repo: https://dyncall.org/pub/dyncall/bindings/file/tip/shell/shdc

Author: Tassilo Philipp

 

Go

To use dyncall from within Go, use godc!

Browse Repo: https://dyncall.org/pub/dyncall/bindings/file/tip/go/godc

Author: Tassilo Philipp