University of Oxford Logo University of OxfordDepartment of Computer Science - Home
Linked in
Linked in
Follow us on twitter
Twitter
On Facebook
Facebook
Instagram
Instagram

Extending the Haskell Foreign Function Interface

Supervisor

Personal photo - Nicolas Wu
Nicolas Wu

Suitable for

Abstract

The Foreign Function Interface allows programs in Haskell to access libraries that expose an interface in C in a convenient manner. However, writing bindings to C++ is not as simple and currently users fall back on exposing C++ functions via a C interface. This project would aim to create a foreign function interface that interacts with SWIG, an interface compiler that connects programs written in C and C++ with scripting languages such as Perl, Python, Ruby, and Tcl. An alternative take on this project would be to write an FFI that interfaces with another language, such as Java or Python.