[Haskell-cafe] FFI binding to CGAL?

minh thu noteed at gmail.com
Mon Feb 9 09:36:42 EST 2009


2009/2/9 Peter Verswyvelen <bugfact at gmail.com>:
> I was wandering of someone already made a FFI binding to http://www.cgal.org
> or something similar that does computational geometry?
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

CGAL is written in C++ and makes heavy use of templates
to let user code parametrize efficiently the data structures.
I'm not sure it would be a good pick to begin with if you not
a lot of time.

On the other hand, if you're happy with a few small choices
of parametrization, you can do that in C++, then export some
C functions then bind against that. It's overall quite straightforward.

HTH,
Thu


More information about the Haskell-Cafe mailing list