views:

109

answers:

1

Hi!

Is anybody aware of a possibility to use C# libraries like OpenTK (http://www.opentk.com/) from F#, too? I'm especially interested in a Math toolkit library to give some scripts extra speed by taking advantage of the GPU from within F#.

What's a painless way to do that? :)

+3  A: 

As Juliet mentions, you can use any .NET library from F#. Talking about OpenTK specifically, there is some material written by Laurent Le Brun (however, all of them are about graphics and not math):

It's probably not exactly the same thing as you're looking for, but it should help (e.g. if there are some tricky things that need to be done when using OpenTK from F#)

Tomas Petricek