Dear Evgueni,

On Thu, Apr 9, 2009 at 10:05 PM, Evgueni Kolossov <[email protected]> wrote:
> Dear Greg,
>
> Do you know about IronPython
> (http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython)?
> It actually combining Visual Studio and Python.
> It can be very interesting solution for RDKit. What you think?

I do know about the project and have been keeping an eye on it. The
main reason I haven't tried hooking the RDKit into IronPython yet is
the difficulty using C/C++ extension modules from IronPython. This
means that the numpy module has not been available. The IronClad
project is addressing this, but I think that's still in an incomplete
(and beta) state.

Another possibility, and one that's potentially more interesting,
would be to do a wrapper around the RDKit libraries so that they can
be used from C# and then use *those* from IronPython. This would have
the advantage of providing access from within any of the .Net-based
languages. SWIG offers the possibility of doing wrappers for C#, and
the prototype for wrapping the RDKit in SWIG (focused on Java at the
moment) in the Code/Demos folder shows that SWIG-based wrappers for
the RDKit are doable. I do eventually plan to try the C# wrapper, if
only to show that it's possible, but I'm not sure when that will be.

I just added a feature request for this to remind myself more often
that I should be trying it. :-)

-greg

Reply via email to