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 publicly 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.

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

Author: Daniel Adler

Note: Daniel's original version of rdyncall was removed from CRAN a while ago due to CRAN requirements changes.
Ongoing development of rdyncall and work to get it back onto CRAN is done by Hongyuan JIA at: https://github.com/hongyuanjia/rdyncall

 

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. Python 2 and 3 are supported.

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

Author: Daniel Adler, Tassilo Philipp

 

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