Re: [Rdkit-devel] RDKit Python wrappers
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Brian K. <fus...@gm...> - 2016-12-01 18:09:18
|
I expect the technical reason is that the boost wrapping was done well in advance of the swig. Having used both, I think that boost wrappers are far more pythonic, compile faster, do docstrings better and finally handle exceptions between c++ and Python far better. The downside is that when you get a compile error, it is several pages long. While doing the same is possible in swig, it would require a serious rewriting that is one whole bunch of "not fun". ---- Brian Kelley > On Dec 1, 2016, at 12:39 PM, David Cosgrove <dav...@gm...> wrote: > > Hi All, > > Having failed miserably to understand boost::python last week when trying to add some new functions, I am wondering if there's a technical reason to prefer it over swig? Given there are swig wrappings for java and c#, it feels logical to do the python wrapping that way as well. It would remove some complexity from the maintenance, perhaps. OTOH, if the end result isn't as good, then that wouldn't be worth it, and I'll just have to try harder with boost::python. > > Cheers, > Dave > > ------------------------------------------------------------------------------ > _______________________________________________ > Rdkit-devel mailing list > Rdk...@li... > https://lists.sourceforge.net/lists/listinfo/rdkit-devel |