/haskellrustdemo

Example Integration for Embedding Rust in Haskell

Primary LanguageMakefileMIT LicenseMIT

Haskell-Rust foreign function interface demo

This project shows how to use Rust from Haskell and Haskell from Rust.

Last updated on Tuesday, September 11, 2018

Build and Run

Make sure the following executables are in your PATH:

  • rustc
  • ghc
  • cargo - used to show ffi linking using Cargo
  • cabal - used to show ffi linking a Haskell cabal project

Then, build and run the project:

$ make
$ make run

Resources